Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009693/0.0009693, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001059/0.001059, allocations: 166 kB / 24.87 MB, free: 9.273 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.9773/0.9773, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.941/1.941, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8128 GB, free: 336 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.043e-05/7.316e-05, allocations: 2.312 kB / 0.8128 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001871/0.001944, allocations: 0.7231 MB / 0.8135 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.003696, allocations: 1.3 MB / 0.8147 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.003771, allocations: 3.938 kB / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.003905, allocations: 4.625 kB / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.003969, allocations: 20.61 kB / 0.8148 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.004571, allocations: 240.5 kB / 0.815 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.004809, allocations: 248.9 kB / 0.8152 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004929, allocations: 19.98 kB / 0.8152 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.00508, allocations: 147.8 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.005223, allocations: 73.42 kB / 0.8155 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.005252, allocations: 16 kB / 0.8155 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.005335, allocations: 27.98 kB / 0.8155 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.005387, allocations: 40.56 kB / 0.8155 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.005447, allocations: 55.89 kB / 0.8156 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.005651, allocations: 192.6 kB / 0.8158 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005655, allocations: 3.938 kB / 0.8158 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005656, allocations: 0 / 0.8158 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.00566, allocations: 1.156 kB / 0.8158 GB, free: 13.24 MB / 0.7292 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.0004751/0.006136, allocations: 0.5186 MB / 0.8163 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.006172, allocations: 8.594 kB / 0.8163 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.006417, allocations: 53.38 kB / 0.8163 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.006618, allocations: 176.4 kB / 0.8165 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.006634, allocations: 9.625 kB / 0.8165 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.006656, allocations: 16.38 kB / 0.8165 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.006772, allocations: 115 kB / 0.8167 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006781, allocations: 2.469 kB / 0.8167 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.00679, allocations: 4.375 kB / 0.8167 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006797, allocations: 384 / 0.8167 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.006826, allocations: 39.78 kB / 0.8167 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.007253, allocations: 0.739 MB / 0.8174 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.007304, allocations: 54.75 kB / 0.8175 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.007318, allocations: 19.5 kB / 0.8175 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-06/0.007322, allocations: 5.203 kB / 0.8175 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.007437, allocations: 104.3 kB / 0.8176 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.007439, allocations: 0.6562 kB / 0.8176 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001686/0.007607, allocations: 94.55 kB / 0.8177 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.007649, allocations: 85.11 kB / 0.8178 GB, free: 11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.007766, allocations: 225.3 kB / 0.818 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.007786, allocations: 29.7 kB / 0.818 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.007862, allocations: 176.1 kB / 0.8182 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.007873, allocations: 15.89 kB / 0.8182 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.007945, allocations: 63.31 kB / 0.8183 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.008059, allocations: 0.4938 MB / 0.8187 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.008136, allocations: 103.4 kB / 0.8188 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.008257, allocations: 252.2 kB / 0.8191 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.008388, allocations: 182.7 kB / 0.8192 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00839, allocations: 1.219 kB / 0.8192 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002559/0.008646, allocations: 309.6 kB / 0.8195 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.008687, allocations: 68.95 kB / 0.8196 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008692, allocations: 3.984 kB / 0.8196 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.008702, allocations: 4.531 kB / 0.8196 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.297e-05/0.008715, allocations: 8.469 kB / 0.8196 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.00872, allocations: 3.938 kB / 0.8196 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.008879, allocations: 53.55 kB / 0.8197 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.008897, allocations: 11.98 kB / 0.8197 GB, free: 8.824 MB / 0.7292 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,con1.y,con.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 8.44e-05/0.008981, allocations: 177.2 kB / 0.8199 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.008994, allocations: 11.94 kB / 0.8199 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.009023, allocations: 12.34 kB / 0.8199 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009025, allocations: 0.9062 kB / 0.8199 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.009028, allocations: 4 kB / 0.8199 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.009032, allocations: 3.938 kB / 0.8199 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.009125, allocations: 126 kB / 0.82 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.009126, allocations: 0 / 0.82 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.00913, allocations: 1.281 kB / 0.82 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.00913, allocations: 7.938 kB / 0.82 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-06/0.009135, allocations: 0 / 0.82 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.009135, allocations: 0 / 0.82 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.009137, allocations: 4.531 kB / 0.82 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.00924, allocations: 132.6 kB / 0.8202 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.009249, allocations: 7.953 kB / 0.8202 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.009261, allocations: 9.672 kB / 0.8202 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.009281, allocations: 4 kB / 0.8202 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.009304, allocations: 7.984 kB / 0.8202 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.009308, allocations: 0 / 0.8202 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.00936, allocations: 153.5 kB / 0.8203 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00936, allocations: 0.875 kB / 0.8203 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001753/0.009536, allocations: 43.83 kB / 0.8204 GB, free: 8.074 MB / 0.7292 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.0001159/0.009651, allocations: 102.7 kB / 0.8205 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.009859, allocations: 269.7 kB / 0.8207 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.009861, allocations: 0 / 0.8207 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.009886, allocations: 27.75 kB / 0.8208 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.01004, allocations: 25.64 kB / 0.8208 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.01034, allocations: 246.4 kB / 0.821 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.35e-05/0.01037, allocations: 63.34 kB / 0.8211 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.0104, allocations: 14.94 kB / 0.8211 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.0105, allocations: 110.2 kB / 0.8212 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.0105, allocations: 1.094 kB / 0.8212 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of Templates: time 0.003808/0.01431, allocations: 2.271 MB / 0.8234 GB, free: 4.934 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.2313196626491845]