Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009928/0.0009928, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001014/0.001014, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.09/1.09, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.471/2.471, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.165e-05, allocations: 8.922 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002288/0.002319, allocations: 0.7546 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.004294, allocations: 1.306 MB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.004355, allocations: 4 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.004476, allocations: 11.86 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.00454, allocations: 19.86 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.005174, allocations: 227.4 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.005412, allocations: 259.4 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.005513, allocations: 23.97 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.005666, allocations: 155.8 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.005796, allocations: 63.84 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.005824, allocations: 16 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.005951, allocations: 35.92 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.005999, allocations: 31.91 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.006068, allocations: 67.88 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.006256, allocations: 175.4 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.006259, allocations: 0 / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.983e-06/0.006261, allocations: 8 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.006265, allocations: 0 / 0.8417 GB, free: 11 MB / 0.8073 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.0004003/0.006665, allocations: 403.7 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.006696, allocations: 8.625 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.006903, allocations: 44.89 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.007094, allocations: 154.2 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.007111, allocations: 12.38 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.007137, allocations: 20.38 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.007243, allocations: 107.3 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.007251, allocations: 192 / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.007259, allocations: 4.375 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.007265, allocations: 4.375 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.007294, allocations: 31.86 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.007608, allocations: 484.5 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.007647, allocations: 49.16 kB / 0.843 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.1e-05/0.007658, allocations: 13.7 kB / 0.843 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-06/0.007662, allocations: 4.062 kB / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.963e-05/0.007762, allocations: 84.97 kB / 0.8431 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.007763, allocations: 4 kB / 0.8431 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001904/0.007953, allocations: 73.66 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.007985, allocations: 85.05 kB / 0.8432 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.008074, allocations: 173.9 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.008095, allocations: 29.7 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.008147, allocations: 120 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.008154, allocations: 7.953 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.008218, allocations: 61.64 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.008286, allocations: 318.8 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.008355, allocations: 95.38 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.008452, allocations: 215.3 kB / 0.8442 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.008552, allocations: 166.5 kB / 0.8443 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008554, allocations: 0 / 0.8443 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001958/0.00875, allocations: 276.4 kB / 0.8446 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.008794, allocations: 67.39 kB / 0.8447 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.0088, allocations: 4 kB / 0.8447 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.008813, allocations: 4 kB / 0.8447 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.599e-05/0.008829, allocations: 3.938 kB / 0.8447 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.008833, allocations: 4 kB / 0.8447 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.008989, allocations: 51.84 kB / 0.8447 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.009009, allocations: 8 kB / 0.8447 GB, free: 7.516 MB / 0.8073 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 7.428e-05/0.009083, allocations: 132.7 kB / 0.8449 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.009093, allocations: 4 kB / 0.8449 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.009122, allocations: 16.33 kB / 0.8449 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.009125, allocations: 4 kB / 0.8449 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.009126, allocations: 0 / 0.8449 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.009131, allocations: 3.938 kB / 0.8449 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.745e-05/0.009198, allocations: 85.86 kB / 0.845 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009199, allocations: 0 / 0.845 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-06/0.009207, allocations: 11.92 kB / 0.845 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.009209, allocations: 4 kB / 0.845 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-06/0.009214, allocations: 4 kB / 0.845 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009215, allocations: 3.938 kB / 0.845 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009217, allocations: 3.984 kB / 0.845 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.443e-05/0.009291, allocations: 89.91 kB / 0.8451 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.0093, allocations: 11.94 kB / 0.8451 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.009309, allocations: 0 / 0.8451 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.009322, allocations: 7.984 kB / 0.8451 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.009344, allocations: 7.938 kB / 0.8451 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.009348, allocations: 4 kB / 0.8451 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.009376, allocations: 32.81 kB / 0.8452 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009376, allocations: 4 kB / 0.8452 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001423/0.009518, allocations: 43.89 kB / 0.8452 GB, free: 6.996 MB / 0.8073 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.0001071/0.009625, allocations: 84.34 kB / 0.8453 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.009807, allocations: 259 kB / 0.8455 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.009811, allocations: 0 / 0.8455 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.009835, allocations: 20.8 kB / 0.8455 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.009959, allocations: 21.98 kB / 0.8456 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.01026, allocations: 245 kB / 0.8458 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.0103, allocations: 63.34 kB / 0.8459 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.01033, allocations: 12.97 kB / 0.8459 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.01042, allocations: 83.34 kB / 0.846 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.01043, allocations: 0 / 0.846 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of Templates: time 0.004013/0.01444, allocations: 2.243 MB / 0.8481 GB, free: 3.926 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.435925154946744]