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.001078/0.001078, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001116/0.001116, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.399/2.399, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.31 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3975, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002045/0.3996, allocations: 0.7253 MB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.4014, allocations: 1.239 MB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.4015, allocations: 7.938 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.4016, allocations: 7.875 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.4017, allocations: 15.84 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.4025, allocations: 245 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.4028, allocations: 259.6 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.403, allocations: 35.98 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.4032, allocations: 99.8 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.4034, allocations: 79.78 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.4034, allocations: 20 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4035, allocations: 47.95 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.4036, allocations: 31.92 kB / 1.022 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.4037, allocations: 87.62 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.404, allocations: 239.2 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.404, allocations: 4 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.074e-06/0.404, allocations: 0 / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.4041, allocations: 4 kB / 1.022 GB, free: 6.715 MB / 0.795 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.0006351/0.4047, allocations: 0.4905 MB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4047, allocations: 12.92 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.4048, allocations: 24.75 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.4054, allocations: 260 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4055, allocations: 12.38 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.4055, allocations: 16.38 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.4057, allocations: 131.3 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4058, allocations: 7.875 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4058, allocations: 4 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4058, allocations: 7.938 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.846e-05/0.4059, allocations: 43.97 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.4065, allocations: 0.6688 MB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.115e-05/0.4066, allocations: 41.16 kB / 1.024 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.4066, allocations: 21.7 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.4067, allocations: 4 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.4068, allocations: 89.03 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4068, allocations: 0 / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000253/0.4071, allocations: 105.7 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.4071, allocations: 85.09 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4073, allocations: 184.9 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.4073, allocations: 29.7 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.4074, allocations: 115.9 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.4075, allocations: 19.8 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.4076, allocations: 61.62 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4077, allocations: 322.8 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4078, allocations: 55.95 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.408, allocations: 121.5 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.4082, allocations: 174.2 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4082, allocations: 0 / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004168/0.4086, allocations: 268.7 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.157e-05/0.4087, allocations: 70.2 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.4087, allocations: 8.25 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4087, allocations: 0 / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.036e-05/0.4087, allocations: 4 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4087, allocations: 4 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.4092, allocations: 71.83 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4092, allocations: 11.98 kB / 1.025 GB, free: 2.84 MB / 0.795 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.0001607/0.4094, allocations: 145.7 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.4094, allocations: 15.84 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.4094, allocations: 12.25 kB / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4095, allocations: 0 / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4095, allocations: 3.984 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4095, allocations: 0 / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.4097, allocations: 205.6 kB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4097, allocations: 7.922 kB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.4097, allocations: 3.938 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4097, allocations: 8 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4097, allocations: 0 / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4097, allocations: 0 / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4097, allocations: 0 / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.4099, allocations: 113.8 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.41, allocations: 88.86 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.41, allocations: 8.094 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.41, allocations: 7.938 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.4101, allocations: 7.984 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4101, allocations: 4 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000105/0.4102, allocations: 117.4 kB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4102, allocations: 0 / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000271/0.4105, allocations: 32 kB / 1.026 GB, free: 1.973 MB / 0.795 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.0001864/0.4107, allocations: 115.2 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.411, allocations: 242.8 kB / 1.026 GB, free: 1.586 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.411, allocations: 0 / 1.026 GB, free: 1.586 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.4111, allocations: 24.06 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.4113, allocations: 19.92 kB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.4118, allocations: 240.3 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4122, allocations: 0.72 MB / 1.027 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.4122, allocations: 12.88 kB / 1.027 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.4122, allocations: 11.44 kB / 1.027 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.4122, allocations: 0 / 1.027 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of Templates: time 0.004917/0.4172, allocations: 2.01 MB / 1.029 GB, free: 14.52 MB / 0.8106 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 -s gbode -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