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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008371/0.0008371, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005996/0.005996, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 8.281 kB / 0.9028 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4107, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001084/0.4119, allocations: 441.5 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.4137, allocations: 1.272 MB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.4137, allocations: 0 / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.4139, allocations: 7.875 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.4139, allocations: 15.91 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.4147, allocations: 226.2 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.415, allocations: 215.6 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.4151, allocations: 31.98 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.4153, allocations: 95.73 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.4155, allocations: 87.75 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.4156, allocations: 8 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.4157, allocations: 23.98 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.4157, allocations: 27.92 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4158, allocations: 97.33 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.4161, allocations: 207.6 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4161, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4161, allocations: 0 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4161, allocations: 4 kB / 1.061 GB, free: 2.73 MB / 0.8106 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.0005282/0.4167, allocations: 458.5 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4167, allocations: 8.031 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.4168, allocations: 20.75 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.4174, allocations: 263 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.4174, allocations: 16.36 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.4175, allocations: 20.38 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.4177, allocations: 127 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4177, allocations: 3.938 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.4177, allocations: 4 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4177, allocations: 0 / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.4178, allocations: 51.91 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.4186, allocations: 0.665 MB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.629e-05/0.4186, allocations: 45.09 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.4187, allocations: 21.81 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.4187, allocations: 4 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.4189, allocations: 85.03 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.815e-06/0.4189, allocations: 8 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002585/0.4191, allocations: 101.4 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.4192, allocations: 93.03 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4194, allocations: 168.7 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4194, allocations: 29.7 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.4195, allocations: 119.9 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.4195, allocations: 15.8 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.4196, allocations: 33.7 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4198, allocations: 326.8 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.4199, allocations: 51.97 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.42, allocations: 102.8 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.4202, allocations: 170.1 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4202, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000393/0.4206, allocations: 276.9 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.4207, allocations: 59.41 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4207, allocations: 3.938 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4207, allocations: 7.984 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-05/0.4208, allocations: 4 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4208, allocations: 4 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.4211, allocations: 75.88 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4212, allocations: 15.98 kB / 1.065 GB, free: 14.96 MB / 0.8262 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.0001336/0.4213, allocations: 141.7 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.4213, allocations: 15.84 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.4214, allocations: 12.25 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4214, allocations: 0 / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4214, allocations: 0 / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4214, allocations: 0 / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4216, allocations: 205.6 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4216, allocations: 3.938 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.4217, allocations: 4 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4217, allocations: 8.359 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4217, allocations: 4 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4217, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4217, allocations: 4 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.4218, allocations: 117.8 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.422, allocations: 92.86 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.422, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.422, allocations: 4 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.4221, allocations: 7.984 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4221, allocations: 8 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.401e-05/0.4222, allocations: 117.4 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4222, allocations: 96 / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002516/0.4224, allocations: 39.94 kB / 1.065 GB, free: 14.09 MB / 0.8262 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.0001768/0.4226, allocations: 111.2 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.423, allocations: 230.6 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.423, allocations: 0.5 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.423, allocations: 28 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.4233, allocations: 19.92 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.4238, allocations: 284.7 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4241, allocations: 0.7121 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.4241, allocations: 16.88 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.4241, allocations: 11.44 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4242, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.00471/0.4289, allocations: 1.759 MB / 1.069 GB, free: 10.87 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches