Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9752/0.9752, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.874/1.874, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.55e-06, allocations: 4 kB / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.811e-05/5.366e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002169/0.002223, allocations: 0.721 MB / 0.7878 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.0041, allocations: 1.297 MB / 0.7891 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.004182, allocations: 0 / 0.7891 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.00435, allocations: 17.39 kB / 0.7891 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.004418, allocations: 19.8 kB / 0.7891 GB, free: 9.359 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.005223, allocations: 236.5 kB / 0.7893 GB, free: 9.129 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.005582, allocations: 247.6 kB / 0.7896 GB, free: 8.887 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.005766, allocations: 32.53 kB / 0.7896 GB, free: 8.855 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.005961, allocations: 135.8 kB / 0.7897 GB, free: 8.723 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.006125, allocations: 73.23 kB / 0.7898 GB, free: 8.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.006167, allocations: 20 kB / 0.7898 GB, free: 8.633 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.006297, allocations: 31.98 kB / 0.7898 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.006381, allocations: 40.77 kB / 0.7899 GB, free: 8.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.006479, allocations: 67.83 kB / 0.7899 GB, free: 8.496 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.006782, allocations: 203.8 kB / 0.7901 GB, free: 8.297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.006786, allocations: 0 / 0.7901 GB, free: 8.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006787, allocations: 0.7812 kB / 0.7901 GB, free: 8.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.006793, allocations: 0 / 0.7901 GB, free: 8.297 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006527/0.007446, allocations: 0.5195 MB / 0.7906 GB, free: 7.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.0075, allocations: 12.03 kB / 0.7907 GB, free: 7.715 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.007853, allocations: 69.42 kB / 0.7907 GB, free: 7.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.008267, allocations: 196.8 kB / 0.7909 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.008288, allocations: 8.375 kB / 0.7909 GB, free: 7.426 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.008319, allocations: 20.38 kB / 0.7909 GB, free: 7.406 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.008503, allocations: 119.4 kB / 0.7911 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.008517, allocations: 1.781 kB / 0.7911 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.008532, allocations: 384 / 0.7911 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.008544, allocations: 8.125 kB / 0.7911 GB, free: 7.262 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.008592, allocations: 27.92 kB / 0.7911 GB, free: 7.234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.009232, allocations: 0.7747 MB / 0.7918 GB, free: 6.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.009312, allocations: 50.12 kB / 0.7919 GB, free: 6.336 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.009336, allocations: 22.62 kB / 0.7919 GB, free: 6.309 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.009343, allocations: 4 kB / 0.7919 GB, free: 6.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.009493, allocations: 108.3 kB / 0.792 GB, free: 6.176 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.009494, allocations: 0 / 0.792 GB, free: 6.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002419/0.009736, allocations: 101.5 kB / 0.7921 GB, free: 6.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.009787, allocations: 77.11 kB / 0.7922 GB, free: 5.977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.009951, allocations: 228.5 kB / 0.7924 GB, free: 5.738 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.009977, allocations: 29.7 kB / 0.7924 GB, free: 5.703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.01007, allocations: 171.2 kB / 0.7926 GB, free: 5.531 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.01009, allocations: 19.89 kB / 0.7926 GB, free: 5.512 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.01018, allocations: 64.53 kB / 0.7927 GB, free: 5.441 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.01034, allocations: 0.4923 MB / 0.7932 GB, free: 4.938 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.01046, allocations: 119.3 kB / 0.7933 GB, free: 4.809 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.01062, allocations: 256.2 kB / 0.7935 GB, free: 4.492 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.01078, allocations: 195.3 kB / 0.7937 GB, free: 4.258 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01079, allocations: 0 / 0.7937 GB, free: 4.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003429/0.01113, allocations: 330.9 kB / 0.794 GB, free: 3.906 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.01119, allocations: 63.39 kB / 0.7941 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.0112, allocations: 4 kB / 0.7941 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.01122, allocations: 3.938 kB / 0.7941 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.912e-05/0.01124, allocations: 9.281 kB / 0.7941 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.01125, allocations: 4 kB / 0.7941 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01141, allocations: 51.78 kB / 0.7942 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.01143, allocations: 8 kB / 0.7942 GB, free: 3.758 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.01154, allocations: 174.9 kB / 0.7943 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.01156, allocations: 15.95 kB / 0.7943 GB, free: 3.562 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.0116, allocations: 12.28 kB / 0.7944 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.0116, allocations: 3.938 kB / 0.7944 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01161, allocations: 0 / 0.7944 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.01161, allocations: 4 kB / 0.7944 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.01173, allocations: 161.1 kB / 0.7945 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01174, allocations: 0.5 kB / 0.7945 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.01174, allocations: 0 / 0.7945 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01174, allocations: 4.562 kB / 0.7945 GB, free: 3.344 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.01175, allocations: 4.547 kB / 0.7945 GB, free: 3.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.01175, allocations: 0 / 0.7945 GB, free: 3.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01176, allocations: 5.344 kB / 0.7945 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.01189, allocations: 132.3 kB / 0.7947 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.0119, allocations: 3.953 kB / 0.7947 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01192, allocations: 11.98 kB / 0.7947 GB, free: 3.164 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.01193, allocations: 0.625 kB / 0.7947 GB, free: 3.164 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.01197, allocations: 13.61 kB / 0.7947 GB, free: 3.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01198, allocations: 8.062 kB / 0.7947 GB, free: 3.145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.099e-05/0.01206, allocations: 157.5 kB / 0.7948 GB, free: 2.992 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.01206, allocations: 0 / 0.7948 GB, free: 2.992 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001994/0.01226, allocations: 43.89 kB / 0.7949 GB, free: 2.949 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.01242, allocations: 100.1 kB / 0.795 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.01272, allocations: 279.6 kB / 0.7952 GB, free: 2.527 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01272, allocations: 0 / 0.7952 GB, free: 2.527 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.01275, allocations: 24.61 kB / 0.7953 GB, free: 2.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.01295, allocations: 25.31 kB / 0.7953 GB, free: 2.477 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.01336, allocations: 250.5 kB / 0.7955 GB, free: 2.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.601e-05/0.01341, allocations: 64.22 kB / 0.7956 GB, free: 2.117 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.01345, allocations: 15.19 kB / 0.7956 GB, free: 2.102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.01347, allocations: 12.5 kB / 0.7956 GB, free: 2.086 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.01347, allocations: 4 kB / 0.7956 GB, free: 2.082 MB / 0.698 GB Notification: Performance of Templates: time 0.00435/0.01782, allocations: 2.08 MB / 0.7977 GB, free: 76 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.663306552916765]