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.008535/0.008534, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001413/0.001413, allocations: 189 kB / 16.67 MB, free: 5.961 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.415/1.415, 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 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.91 kB / 1.054 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002494/1.124, allocations: 0.7125 MB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002254/1.126, allocations: 1.244 MB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/1.126, allocations: 4 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/1.126, allocations: 15.86 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/1.126, allocations: 7.875 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/1.128, allocations: 242.1 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004459/1.128, allocations: 255.6 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/1.128, allocations: 39.94 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/1.128, allocations: 103.8 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/1.129, allocations: 91.69 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/1.129, allocations: 20 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/1.129, allocations: 39.92 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/1.129, allocations: 35.91 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/1.129, allocations: 87.62 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/1.129, allocations: 234.8 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.129, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.684e-06/1.129, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.129, allocations: 0 / 1.211 GB, free: 10.44 MB / 0.9356 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.0007391/1.13, allocations: 0.5005 MB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.13, allocations: 12.03 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.443e-05/1.13, allocations: 24.69 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/1.131, allocations: 262.6 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/1.131, allocations: 12.38 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/1.131, allocations: 16.38 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/1.131, allocations: 135.5 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.131, allocations: 3.938 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.131, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.131, allocations: 7.984 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/1.131, allocations: 47.91 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/1.132, allocations: 0.6611 MB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.354e-05/1.132, allocations: 45.14 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/1.132, allocations: 13.78 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/1.132, allocations: 8 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/1.133, allocations: 92.88 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/1.133, allocations: 3.938 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002695/1.133, allocations: 105.5 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/1.133, allocations: 77.11 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/1.133, allocations: 175 kB / 1.213 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/1.133, allocations: 33.7 kB / 1.213 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.133, allocations: 115.9 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/1.133, allocations: 15.75 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.133, allocations: 61.67 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.134, allocations: 326.8 kB / 1.213 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/1.134, allocations: 51.97 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/1.134, allocations: 120.5 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/1.134, allocations: 182.5 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.134, allocations: 0 / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004786/1.135, allocations: 268.7 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/1.135, allocations: 63.39 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.135, allocations: 4.25 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.135, allocations: 4 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/1.135, allocations: 4 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.135, allocations: 7.938 kB / 1.214 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/1.135, allocations: 67.83 kB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/1.135, allocations: 19.98 kB / 1.214 GB, free: 6.566 MB / 0.9356 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.0001483/1.135, allocations: 140.9 kB / 1.214 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/1.135, allocations: 15.84 kB / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/1.135, allocations: 16.23 kB / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.135, allocations: 0 / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.135, allocations: 0 / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.135, allocations: 96 / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/1.136, allocations: 205.6 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.136, allocations: 3.938 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/1.136, allocations: 0 / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.136, allocations: 4 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/1.136, allocations: 4 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.136, allocations: 7.922 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.136, allocations: 0 / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/1.136, allocations: 117.8 kB / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/1.136, allocations: 88.89 kB / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/1.136, allocations: 11.92 kB / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/1.136, allocations: 0 / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/1.136, allocations: 8 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.136, allocations: 11.98 kB / 1.215 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.759e-05/1.136, allocations: 114.5 kB / 1.215 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.136, allocations: 0 / 1.215 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000276/1.136, allocations: 39.91 kB / 1.215 GB, free: 5.691 MB / 0.9356 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.137, allocations: 107.2 kB / 1.215 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003736/1.137, allocations: 235.1 kB / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.137, allocations: 0 / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/1.137, allocations: 27.92 kB / 1.215 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/1.137, allocations: 25.95 kB / 1.215 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/1.138, allocations: 240.3 kB / 1.216 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/1.138, allocations: 0.708 MB / 1.216 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.44e-05/1.138, allocations: 17.05 kB / 1.216 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/1.138, allocations: 11.44 kB / 1.216 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/1.138, allocations: 0 / 1.216 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of Templates: time 0.005614/1.144, allocations: 2.055 MB / 1.218 GB, free: 2.207 MB / 0.9356 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