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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 81.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.968/2.968, allocations: 394.2 MB / 0.6387 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 67.89 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 181.8 MB / 1.187 GB, free: 16.26 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001712/1.033, allocations: 0.7081 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001373/1.034, allocations: 1.271 MB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/1.034, allocations: 2.438 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.954e-05/1.034, allocations: 10.69 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/1.034, allocations: 17.73 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/1.035, allocations: 244.6 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/1.035, allocations: 240 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/1.035, allocations: 29.44 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/1.036, allocations: 106.5 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/1.036, allocations: 75.36 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/1.036, allocations: 19.66 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/1.036, allocations: 35.17 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/1.036, allocations: 35.34 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/1.036, allocations: 80.75 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/1.036, allocations: 235 kB / 1.19 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.036, allocations: 4.547 kB / 1.19 GB, free: 14.44 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/1.036, allocations: 0 / 1.19 GB, free: 14.44 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.613e-06/1.036, allocations: 4 kB / 1.19 GB, free: 14.44 MB / 1.076 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.0005311/1.037, allocations: 430.2 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.037, allocations: 10.03 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/1.037, allocations: 60.45 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/1.038, allocations: 190.3 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/1.038, allocations: 13 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/1.038, allocations: 22.73 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/1.038, allocations: 121.8 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.038, allocations: 7.938 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.038, allocations: 6.281 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.038, allocations: 2.438 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/1.038, allocations: 49.72 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/1.039, allocations: 0.577 MB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/1.039, allocations: 35.92 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/1.039, allocations: 18.86 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/1.039, allocations: 1.844 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/1.039, allocations: 103 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/1.039, allocations: 0 / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0002363/1.039, allocations: 103.6 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/1.039, allocations: 80.14 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/1.039, allocations: 184 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/1.039, allocations: 30.52 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/1.039, allocations: 122.8 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/1.039, allocations: 14.98 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.04, allocations: 56.03 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/1.04, allocations: 326.3 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/1.04, allocations: 117 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.04, allocations: 239.5 kB / 1.192 GB, free: 11.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/1.04, allocations: 174.8 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.04, allocations: 1.062 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004452/1.041, allocations: 328.1 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/1.041, allocations: 67.45 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.041, allocations: 1.406 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.041, allocations: 3.156 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/1.041, allocations: 8.359 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.041, allocations: 3.109 kB / 1.193 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/1.041, allocations: 64.31 kB / 1.193 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/1.041, allocations: 17.34 kB / 1.193 GB, free: 11.52 MB / 1.076 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.0001186/1.041, allocations: 134.3 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/1.041, allocations: 14.2 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/1.041, allocations: 13.7 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.041, allocations: 2.078 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.041, allocations: 3.938 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.041, allocations: 1.969 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/1.041, allocations: 139.8 kB / 1.193 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.041, allocations: 5.312 kB / 1.193 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/1.041, allocations: 2.078 kB / 1.193 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.041, allocations: 1.312 kB / 1.193 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.041, allocations: 10.47 kB / 1.193 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.041, allocations: 0.8125 kB / 1.193 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.041, allocations: 0.75 kB / 1.193 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/1.042, allocations: 112.9 kB / 1.193 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/1.042, allocations: 7.703 kB / 1.194 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/1.042, allocations: 10.89 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/1.042, allocations: 1.781 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/1.042, allocations: 9.25 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/1.042, allocations: 12.09 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.813e-05/1.042, allocations: 123.4 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.042, allocations: 0 / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002678/1.042, allocations: 42.25 kB / 1.194 GB, free: 11.01 MB / 1.076 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.0001218/1.042, allocations: 102.8 kB / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003264/1.042, allocations: 271.1 kB / 1.194 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.042, allocations: 0.5 kB / 1.194 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/1.043, allocations: 25.61 kB / 1.194 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/1.043, allocations: 22.12 kB / 1.194 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/1.043, allocations: 250.8 kB / 1.194 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/1.043, allocations: 94.28 kB / 1.194 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.949e-05/1.043, allocations: 15.47 kB / 1.194 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.043, allocations: 19.45 kB / 1.194 GB, free: 10.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.043, allocations: 0 / 1.194 GB, free: 10.4 MB / 1.076 GB Notification: Performance of Templates: time 0.006068/1.049, allocations: 2.079 MB / 1.196 GB, free: 10.13 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.306304848985747]