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.001245/0.001245, allocations: 106 kB / 15.99 MB, free: 5.836 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.001348/0.001348, allocations: 197.7 kB / 16.91 MB, free: 5.707 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.338/2.338, allocations: 390.3 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.44 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2558, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002254/0.2581, allocations: 0.7827 MB / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2598, allocations: 1.241 MB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.2599, allocations: 0 / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.26, allocations: 7.922 kB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.2601, allocations: 15.86 kB / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.2608, allocations: 211.5 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.2612, allocations: 263.6 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2613, allocations: 31.98 kB / 0.9523 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.2615, allocations: 111.8 kB / 0.9524 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.2617, allocations: 95.7 kB / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.2618, allocations: 20 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.2619, allocations: 35.97 kB / 0.9525 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.2619, allocations: 35.92 kB / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.745e-05/0.262, allocations: 79.64 kB / 0.9526 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2622, allocations: 155.9 kB / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2622, allocations: 4 kB / 0.9528 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2622, allocations: 0 / 0.9528 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.2623, allocations: 0 / 0.9528 GB, free: 6.148 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.0005625/0.2628, allocations: 0.4905 MB / 0.9533 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2629, allocations: 8.031 kB / 0.9533 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.2629, allocations: 24.75 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.2635, allocations: 269.5 kB / 0.9535 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2636, allocations: 20.33 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.2636, allocations: 12.38 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.2638, allocations: 122.8 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2638, allocations: 3.938 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.2638, allocations: 11.98 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2639, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.264, allocations: 51.91 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.2646, allocations: 0.6571 MB / 0.9544 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.2647, allocations: 45.09 kB / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.2647, allocations: 21.83 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-06/0.2647, allocations: 7.938 kB / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.2649, allocations: 93.03 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.2649, allocations: 0 / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002372/0.2652, allocations: 93.52 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.2652, allocations: 85.09 kB / 0.9547 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.2654, allocations: 169.6 kB / 0.9549 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2654, allocations: 33.7 kB / 0.9549 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.2655, allocations: 123.8 kB / 0.955 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.2655, allocations: 7.891 kB / 0.955 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.2656, allocations: 65.59 kB / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.2658, allocations: 322.8 kB / 0.9554 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.2659, allocations: 55.91 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.266, allocations: 105.7 kB / 0.9556 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.2662, allocations: 182.5 kB / 0.9557 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2662, allocations: 3.938 kB / 0.9558 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004157/0.2667, allocations: 268.7 kB / 0.956 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.2667, allocations: 67.39 kB / 0.9561 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2667, allocations: 0 / 0.9561 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2668, allocations: 4 kB / 0.9561 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.2668, allocations: 7.938 kB / 0.9561 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2668, allocations: 3.984 kB / 0.9561 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.2671, allocations: 56.11 kB / 0.9561 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.2672, allocations: 15.98 kB / 0.9562 GB, free: 2.32 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.0001307/0.2673, allocations: 137.8 kB / 0.9563 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.2673, allocations: 15.78 kB / 0.9563 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2674, allocations: 16.23 kB / 0.9563 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2674, allocations: 4 kB / 0.9563 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2674, allocations: 0 / 0.9563 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2674, allocations: 0 / 0.9563 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2675, allocations: 201.6 kB / 0.9565 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2676, allocations: 7.938 kB / 0.9565 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.2676, allocations: 4 kB / 0.9565 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2676, allocations: 0 / 0.9565 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2676, allocations: 4 kB / 0.9565 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2676, allocations: 0 / 0.9565 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2676, allocations: 0 / 0.9565 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2678, allocations: 117.9 kB / 0.9566 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.2678, allocations: 92.89 kB / 0.9567 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2678, allocations: 8.078 kB / 0.9567 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.2679, allocations: 3.938 kB / 0.9567 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.2679, allocations: 0 / 0.9567 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.2679, allocations: 11.98 kB / 0.9568 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.359e-05/0.268, allocations: 121.6 kB / 0.9569 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.268, allocations: 0 / 0.9569 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002819/0.2683, allocations: 35.91 kB / 0.9569 GB, free: 1.453 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.0001387/0.2684, allocations: 111.1 kB / 0.957 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.2688, allocations: 238.6 kB / 0.9572 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2688, allocations: 0 / 0.9572 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.2688, allocations: 27.98 kB / 0.9573 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.2691, allocations: 24.36 kB / 0.9573 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.2695, allocations: 310 kB / 0.9576 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2698, allocations: 0.7196 MB / 0.9583 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.2698, allocations: 11.44 kB / 0.9583 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.2698, allocations: 0 / 0.9583 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.003825/0.2737, allocations: 1.854 MB / 0.9601 GB, free: 14.09 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