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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00146/0.00146, allocations: 104.6 kB / 16.27 MB, free: 6.004 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.001482/0.001482, allocations: 187.3 kB / 17.2 MB, free: 5.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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 74.23 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.689, allocations: 162.2 MB / 1.083 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001855/0.6909, allocations: 0.7156 MB / 1.084 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.6922, allocations: 1.243 MB / 1.085 GB, free: 328 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.6923, allocations: 4.812 kB / 1.085 GB, free: 324 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.386e-05/0.6924, allocations: 11.05 kB / 1.085 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.6924, allocations: 12.91 kB / 1.085 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.693, allocations: 239.1 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.6933, allocations: 257.8 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.6934, allocations: 40.06 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.6935, allocations: 105.7 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.6938, allocations: 91.03 kB / 1.086 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.6939, allocations: 19.5 kB / 1.086 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.6939, allocations: 31.97 kB / 1.086 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.694, allocations: 31.89 kB / 1.086 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.6941, allocations: 87.88 kB / 1.086 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.6944, allocations: 210.5 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6944, allocations: 0.8125 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6944, allocations: 0 / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.6945, allocations: 4 kB / 1.086 GB, free: 15.85 MB / 0.8419 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.0006048/0.6951, allocations: 499.2 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.6951, allocations: 9 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.6952, allocations: 19.97 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.6958, allocations: 266.9 kB / 1.087 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.6958, allocations: 12.23 kB / 1.087 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.6959, allocations: 13.84 kB / 1.087 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.6961, allocations: 133 kB / 1.087 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6961, allocations: 3.938 kB / 1.087 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.6961, allocations: 5.859 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6961, allocations: 6.375 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.314e-05/0.6962, allocations: 50.61 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.6969, allocations: 0.6549 MB / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.697, allocations: 51.53 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.697, allocations: 19.31 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.697, allocations: 1.859 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.6972, allocations: 101.8 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.6972, allocations: 0 / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0002402/0.6975, allocations: 102.1 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.6975, allocations: 79.98 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.6977, allocations: 170.2 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.6978, allocations: 33.39 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.6979, allocations: 114.1 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.6979, allocations: 16.55 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.698, allocations: 58.14 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6982, allocations: 325.6 kB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.6983, allocations: 52.94 kB / 1.089 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.6985, allocations: 102 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.6987, allocations: 180.7 kB / 1.089 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6987, allocations: 4.656 kB / 1.089 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004386/0.6991, allocations: 270.8 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.6992, allocations: 72.2 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6992, allocations: 1.156 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6992, allocations: 2.781 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.838e-05/0.6993, allocations: 4.031 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.6993, allocations: 4.688 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.6996, allocations: 53.06 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.6996, allocations: 17.14 kB / 1.089 GB, free: 12.98 MB / 0.8419 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.0001357/0.6998, allocations: 142.7 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.6998, allocations: 12.98 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.6998, allocations: 13.52 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6999, allocations: 1.312 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6999, allocations: 1.375 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6999, allocations: 0.5625 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.7001, allocations: 200.5 kB / 1.09 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7001, allocations: 3.938 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-06/0.7001, allocations: 8.906 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.7001, allocations: 1.281 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.7001, allocations: 1.312 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7001, allocations: 1.156 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7001, allocations: 96 / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.7003, allocations: 122.2 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.7003, allocations: 88.23 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.7004, allocations: 7.766 kB / 1.09 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.7004, allocations: 1.281 kB / 1.09 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.7004, allocations: 5.594 kB / 1.09 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.7004, allocations: 6.188 kB / 1.09 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001004/0.7005, allocations: 113 kB / 1.09 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7005, allocations: 1.344 kB / 1.09 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002486/0.7008, allocations: 40.97 kB / 1.09 GB, free: 12.32 MB / 0.8419 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.0001397/0.7009, allocations: 107.2 kB / 1.09 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.7013, allocations: 235.6 kB / 1.09 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7013, allocations: 1.594 kB / 1.09 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.384e-05/0.7014, allocations: 30.2 kB / 1.09 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.7016, allocations: 27.81 kB / 1.09 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.7021, allocations: 283.5 kB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.7024, allocations: 0.7122 MB / 1.091 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.7025, allocations: 13.28 kB / 1.091 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7025, allocations: 0 / 1.091 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.004018/0.7065, allocations: 1.865 MB / 1.093 GB, free: 10.91 MB / 0.8419 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=400 -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/jenkins1/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