Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001776/0.001776, allocations: 76.22 kB / 19.76 MB, free: 1.863 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.00227/0.00227, allocations: 160.7 kB / 23.01 MB, free: 4.609 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002337/0.002337, allocations: 79.86 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3449, allocations: 169.9 MB / 1.117 GB, free: 2.574 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002046/0.3469, allocations: 0.6977 MB / 1.118 GB, free: 1.879 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3489, allocations: 1.272 MB / 1.119 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.3489, allocations: 4 kB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.349, allocations: 11.88 kB / 1.119 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.3491, allocations: 19.84 kB / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.3499, allocations: 237.5 kB / 1.12 GB, free: 340 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.3502, allocations: 247.6 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3504, allocations: 27.92 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.3506, allocations: 107.8 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3508, allocations: 75.72 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.3508, allocations: 20 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3509, allocations: 39.98 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.351, allocations: 39.89 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3512, allocations: 75.7 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.3515, allocations: 235.1 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3515, allocations: 0 / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3515, allocations: 0 / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3515, allocations: 4 kB / 1.12 GB, free: 15.48 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.0007381/0.3523, allocations: 433.1 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3523, allocations: 15.97 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.3527, allocations: 64.8 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.3533, allocations: 197 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3533, allocations: 8.375 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3534, allocations: 20.38 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.3536, allocations: 125.6 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3537, allocations: 7.938 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3537, allocations: 0 / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3537, allocations: 4 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3538, allocations: 55.91 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.3545, allocations: 0.5749 MB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/0.3546, allocations: 41.16 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.3546, allocations: 13.84 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.3546, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.3548, allocations: 105 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3548, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.000311/0.3551, allocations: 105.5 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.3552, allocations: 81.11 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3554, allocations: 175.9 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.3554, allocations: 29.7 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3555, allocations: 120 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.3555, allocations: 11.95 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3556, allocations: 61.67 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3558, allocations: 322.8 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.356, allocations: 119.3 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.3562, allocations: 227.3 kB / 1.123 GB, free: 12.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.3565, allocations: 182.2 kB / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3565, allocations: 0 / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005201/0.357, allocations: 336.5 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.3571, allocations: 63.59 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3571, allocations: 8 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3571, allocations: 3.984 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.3571, allocations: 11.94 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3571, allocations: 8 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.3575, allocations: 48.03 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.3575, allocations: 15.92 kB / 1.124 GB, free: 11.57 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.0001496/0.3576, allocations: 149.5 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3577, allocations: 23.78 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.3577, allocations: 8.344 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3577, allocations: 0 / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3577, allocations: 0 / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3577, allocations: 4 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3579, allocations: 141.3 kB / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3579, allocations: 0 / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-06/0.3579, allocations: 0 / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3579, allocations: 0 / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3579, allocations: 11.92 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3579, allocations: 4 kB / 1.124 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3579, allocations: 0 / 1.124 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3581, allocations: 113.9 kB / 1.124 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.3581, allocations: 15.84 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3581, allocations: 3.938 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.3581, allocations: 4 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.3581, allocations: 3.984 kB / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.3582, allocations: 8 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.679e-05/0.3582, allocations: 115.2 kB / 1.124 GB, free: 10.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 0 / 1.124 GB, free: 10.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002747/0.3585, allocations: 39.94 kB / 1.125 GB, free: 10.87 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.0001605/0.3587, allocations: 103.2 kB / 1.125 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.3591, allocations: 270 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3591, allocations: 0 / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.3591, allocations: 23.92 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.3594, allocations: 24.47 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.3599, allocations: 252.2 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.36, allocations: 93.78 kB / 1.125 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.599e-05/0.36, allocations: 12.97 kB / 1.125 GB, free: 10.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3601, allocations: 20.44 kB / 1.125 GB, free: 9.988 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.3601, allocations: 0 / 1.125 GB, free: 9.988 MB / 1.076 GB Notification: Performance of Templates: time 0.005896/0.366, allocations: 2.097 MB / 1.127 GB, free: 7.945 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.74596010800451]