Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001573/0.001573, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00175/0.00175, allocations: 215.2 kB / 22.99 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002111/0.002111, allocations: 67.94 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002028/0.3586, allocations: 0.7003 MB / 1.327 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3604, allocations: 1.272 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.3605, allocations: 4 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.3606, allocations: 7.875 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.3607, allocations: 19.84 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.3614, allocations: 248.3 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.3617, allocations: 239.6 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3619, allocations: 27.97 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.362, allocations: 95.88 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3622, allocations: 83.69 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.3622, allocations: 20 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3623, allocations: 32 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.3624, allocations: 35.91 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3625, allocations: 75.69 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3628, allocations: 239.2 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3628, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3628, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3628, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 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.0006546/0.3635, allocations: 437 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3635, allocations: 8.031 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.3639, allocations: 56.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.3644, allocations: 196 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3644, allocations: 16.38 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.3645, allocations: 12.38 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3647, allocations: 138.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3647, allocations: 3.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3647, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3647, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.3648, allocations: 47.91 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.3655, allocations: 0.575 MB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.3656, allocations: 45.16 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.3656, allocations: 13.72 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3656, allocations: 4.062 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.3658, allocations: 93.02 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3658, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002544/0.3661, allocations: 105.5 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.3661, allocations: 81.11 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3663, allocations: 176.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.3663, allocations: 37.64 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3664, allocations: 127.9 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.3664, allocations: 15.89 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-05/0.3665, allocations: 57.67 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3667, allocations: 322.8 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3668, allocations: 115.4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.3671, allocations: 228.4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.3673, allocations: 178.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3673, allocations: 4.031 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004641/0.3677, allocations: 332.1 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.3678, allocations: 67.34 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3678, allocations: 7.984 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3678, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-05/0.3679, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3679, allocations: 7.984 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.3682, allocations: 52.19 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3682, allocations: 19.98 kB / 1.333 GB, free: 10.89 MB / 1.029 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.000133/0.3683, allocations: 142.2 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.3684, allocations: 15.84 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.3684, allocations: 12.34 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3684, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3684, allocations: 8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3684, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.3686, allocations: 141.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3686, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.3686, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3686, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3686, allocations: 11.92 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3686, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3686, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.3687, allocations: 113.9 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.3688, allocations: 15.91 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3688, allocations: 11.94 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.3688, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3688, allocations: 7.984 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3688, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.3689, allocations: 121 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3689, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000251/0.3692, allocations: 35.94 kB / 1.333 GB, free: 10.18 MB / 1.029 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.0001474/0.3693, allocations: 107.3 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.3697, allocations: 282.2 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3697, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.3697, allocations: 15.98 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.37, allocations: 19.98 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.3704, allocations: 277.8 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.3705, allocations: 98.02 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.3706, allocations: 19.44 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3706, allocations: 0 / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of Templates: time 0.003984/0.3745, allocations: 1.919 MB / 1.336 GB, free: 7.375 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.47763203876093]