Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006635/0.006635, allocations: 107.9 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 193.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.131, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001978/1.133, allocations: 0.7137 MB / 1.167 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001864/1.135, allocations: 1.248 MB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/1.135, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/1.135, allocations: 11.86 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/1.135, allocations: 15.86 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/1.136, allocations: 249.7 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/1.136, allocations: 247.6 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/1.137, allocations: 39.97 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/1.137, allocations: 111.7 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/1.137, allocations: 75.77 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/1.137, allocations: 20 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/1.137, allocations: 39.98 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/1.137, allocations: 39.89 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/1.137, allocations: 83.64 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/1.138, allocations: 235.7 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.138, allocations: 0 / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.773e-06/1.138, allocations: 3.938 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.138, allocations: 8 kB / 1.17 GB, free: 0.6797 MB / 0.8887 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.0006569/1.138, allocations: 0.5021 MB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.138, allocations: 8.922 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/1.138, allocations: 24.84 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/1.139, allocations: 258.2 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/1.139, allocations: 12.38 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/1.139, allocations: 24.31 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/1.139, allocations: 131.8 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.139, allocations: 7.922 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/1.139, allocations: 4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/1.139, allocations: 4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/1.14, allocations: 51.91 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/1.14, allocations: 0.669 MB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/1.14, allocations: 45.03 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/1.14, allocations: 13.84 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/1.14, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/1.141, allocations: 100.9 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/1.141, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0002764/1.141, allocations: 97.56 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.141, allocations: 85.11 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/1.141, allocations: 170.8 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/1.141, allocations: 29.7 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/1.141, allocations: 131.9 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/1.141, allocations: 3.953 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/1.141, allocations: 69.62 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.142, allocations: 318.8 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/1.142, allocations: 51.97 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/1.142, allocations: 125.2 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/1.142, allocations: 174.2 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.142, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004167/1.142, allocations: 268.7 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/1.143, allocations: 67.41 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.143, allocations: 256 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.143, allocations: 8 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/1.143, allocations: 7.922 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.143, allocations: 4 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/1.143, allocations: 67.88 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/1.143, allocations: 12 kB / 1.173 GB, free: 12.8 MB / 0.9044 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.0001395/1.143, allocations: 145.8 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/1.143, allocations: 16.27 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/1.143, allocations: 8.25 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/1.143, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/1.143, allocations: 7.984 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.143, allocations: 0 / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/1.144, allocations: 205.6 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.144, allocations: 8.031 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/1.144, allocations: 11.88 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/1.144, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.144, allocations: 7.984 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.144, allocations: 7.938 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.144, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/1.144, allocations: 109.9 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/1.144, allocations: 93 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.144, allocations: 0 / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/1.144, allocations: 0 / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/1.144, allocations: 11.98 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/1.144, allocations: 4 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.193e-05/1.144, allocations: 121.9 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.144, allocations: 3.938 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002585/1.144, allocations: 39.89 kB / 1.174 GB, free: 11.9 MB / 0.9044 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.0001835/1.145, allocations: 107.2 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003604/1.145, allocations: 238.9 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.145, allocations: 0 / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/1.145, allocations: 19.94 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/1.145, allocations: 23.92 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/1.146, allocations: 244 kB / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.146, allocations: 0.716 MB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.754e-05/1.146, allocations: 8.891 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/1.146, allocations: 15.42 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.146, allocations: 0 / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of Templates: time 0.005221/1.151, allocations: 2.01 MB / 1.177 GB, free: 8.473 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches