Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001639/0.001639, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001952/0.001952, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.22 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001989/0.2603, allocations: 0.7217 MB / 0.951 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.262, allocations: 1.239 MB / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.2621, allocations: 0 / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2622, allocations: 15.88 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.2623, allocations: 15.84 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.2631, allocations: 231.4 kB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.2634, allocations: 255.6 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2635, allocations: 31.98 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2637, allocations: 103.8 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.2639, allocations: 95.7 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.264, allocations: 20 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.2641, allocations: 31.98 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.2642, allocations: 35.91 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2643, allocations: 91.62 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.2646, allocations: 215.6 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2646, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2646, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.2646, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7325 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.0006332/0.2652, allocations: 498.3 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2653, allocations: 8.031 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.2654, allocations: 20.75 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.266, allocations: 260.2 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.266, allocations: 12.33 kB / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.266, allocations: 20.36 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2663, allocations: 133.5 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2663, allocations: 3.938 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2663, allocations: 8 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2663, allocations: 4 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.637e-05/0.2664, allocations: 51.91 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.2671, allocations: 0.6611 MB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.2671, allocations: 41.09 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.2672, allocations: 17.84 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.2672, allocations: 0 / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.2674, allocations: 93.02 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2674, allocations: 0 / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002439/0.2676, allocations: 101.8 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2677, allocations: 81.11 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2678, allocations: 177.5 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.2679, allocations: 33.7 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.268, allocations: 123.8 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.268, allocations: 11.89 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2681, allocations: 61.59 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2682, allocations: 318.8 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2684, allocations: 51.97 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2685, allocations: 114.8 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.2687, allocations: 178.2 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2688, allocations: 4 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004356/0.2692, allocations: 260.7 kB / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.2693, allocations: 71.39 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2693, allocations: 0 / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2693, allocations: 4 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.2693, allocations: 4 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.2693, allocations: 3.984 kB / 0.9566 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.2697, allocations: 56.09 kB / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.2698, allocations: 19.98 kB / 0.9567 GB, free: 1.949 MB / 0.7325 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.0001342/0.2699, allocations: 141.7 kB / 0.9568 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.2699, allocations: 11.84 kB / 0.9568 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.27, allocations: 16.23 kB / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.27, allocations: 4 kB / 0.9568 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.27, allocations: 4 kB / 0.9568 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.27, allocations: 3.938 kB / 0.9568 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2702, allocations: 201.6 kB / 0.957 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2702, allocations: 3.938 kB / 0.957 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.2702, allocations: 4 kB / 0.957 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2702, allocations: 96 / 0.957 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2702, allocations: 3.938 kB / 0.957 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.2702, allocations: 4 kB / 0.957 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2702, allocations: 0 / 0.957 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2704, allocations: 117.8 kB / 0.9571 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.2704, allocations: 88.95 kB / 0.9572 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2705, allocations: 0 / 0.9572 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.2705, allocations: 7.984 kB / 0.9572 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.2705, allocations: 0 / 0.9572 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2705, allocations: 8 kB / 0.9572 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.813e-05/0.2706, allocations: 120.7 kB / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2706, allocations: 4 kB / 0.9574 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002673/0.2709, allocations: 39.89 kB / 0.9574 GB, free: 1.078 MB / 0.7325 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.0001625/0.2711, allocations: 111.1 kB / 0.9575 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.2714, allocations: 238.6 kB / 0.9577 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2714, allocations: 0 / 0.9577 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.2715, allocations: 23.98 kB / 0.9578 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2717, allocations: 37.02 kB / 0.9578 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.2722, allocations: 281 kB / 0.9581 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2725, allocations: 0.7157 MB / 0.9588 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.2726, allocations: 15.44 kB / 0.9588 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.2726, allocations: 0 / 0.9588 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.003802/0.2764, allocations: 1.853 MB / 0.9606 GB, free: 13.74 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches