Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001186/0.001186, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 183.9 kB / 16.92 MB, free: 6.676 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.583/1.583, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003461, allocations: 12 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6327, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0008495/0.6336, allocations: 448 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.6352, allocations: 1.249 MB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.6353, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.315e-05/0.6354, allocations: 11.86 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.6354, allocations: 15.92 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.6361, allocations: 215.1 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.6363, allocations: 219.6 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.6365, allocations: 35.97 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.6366, allocations: 95.73 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.6368, allocations: 91.7 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.6369, allocations: 8 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.637, allocations: 19.98 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.637, allocations: 27.92 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.6371, allocations: 101.3 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.6373, allocations: 157.6 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.6373, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6373, allocations: 3.938 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6373, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.7794 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.0005032/0.6379, allocations: 462.4 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.6379, allocations: 8.031 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.638, allocations: 20.75 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.6385, allocations: 266.3 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.6386, allocations: 12.38 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.6386, allocations: 20.36 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.6388, allocations: 125.6 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6388, allocations: 3.938 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6389, allocations: 8 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6389, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.442e-05/0.639, allocations: 51.91 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.6396, allocations: 0.6649 MB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.6397, allocations: 37.16 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.6397, allocations: 21.78 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.6397, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.6398, allocations: 101 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6399, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002231/0.6401, allocations: 101.4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6401, allocations: 81.05 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.6403, allocations: 179.6 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.6403, allocations: 29.7 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.6404, allocations: 123.9 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.6404, allocations: 15.81 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.6405, allocations: 29.7 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6406, allocations: 322.8 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.6407, allocations: 55.95 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.6409, allocations: 102.8 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.6411, allocations: 178.1 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6411, allocations: 4 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000408/0.6415, allocations: 264.7 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.6416, allocations: 67.39 kB / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6416, allocations: 96 / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6416, allocations: 7.938 kB / 1.03 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.913e-05/0.6416, allocations: 7.984 kB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6416, allocations: 0 / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.642, allocations: 84.03 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.642, allocations: 8.375 kB / 1.03 GB, free: 9.391 MB / 0.7794 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.0001162/0.6421, allocations: 142.3 kB / 1.03 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.6422, allocations: 19.83 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.6422, allocations: 8.25 kB / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6422, allocations: 7.984 kB / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.6422, allocations: 0 / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6422, allocations: 0 / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.6424, allocations: 201.6 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6424, allocations: 3.938 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.6424, allocations: 4 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6424, allocations: 0 / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.6424, allocations: 4 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6425, allocations: 3.984 kB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6425, allocations: 0 / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.6426, allocations: 113.8 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.6427, allocations: 92.84 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.6427, allocations: 4 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.6427, allocations: 4 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.6427, allocations: 11.98 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.6427, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.938e-05/0.6428, allocations: 118.8 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6428, allocations: 3.938 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002494/0.6431, allocations: 35.94 kB / 1.03 GB, free: 8.527 MB / 0.7794 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.0001303/0.6432, allocations: 111.2 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.6435, allocations: 234.6 kB / 1.031 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6435, allocations: 0 / 1.031 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.6436, allocations: 27.98 kB / 1.031 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.6438, allocations: 21.64 kB / 1.031 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.6443, allocations: 315 kB / 1.031 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.6446, allocations: 0.7161 MB / 1.032 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.6446, allocations: 15.42 kB / 1.032 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6446, allocations: 0 / 1.032 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of Templates: time 0.003567/0.6482, allocations: 1.832 MB / 1.034 GB, free: 5.191 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches