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.001337/0.001337, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002128/0.002128, allocations: 157.7 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.523/1.523, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.937/2.937, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.00237/0.00237, allocations: 59.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.965/0.9673, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001897/0.9692, allocations: 0.6991 MB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.9707, allocations: 1.261 MB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.9708, allocations: 6.469 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.9709, allocations: 11.11 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.9709, allocations: 18.39 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.9716, allocations: 249.2 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.9719, allocations: 241.9 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.972, allocations: 23.52 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.9721, allocations: 106.6 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.9723, allocations: 75.41 kB / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.9723, allocations: 17.97 kB / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.9724, allocations: 40.88 kB / 1.157 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.9725, allocations: 32.5 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.9726, allocations: 78.03 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.9728, allocations: 239.4 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9728, allocations: 0 / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9728, allocations: 0 / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.9728, allocations: 0 / 1.157 GB, free: 31.51 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.000538/0.9734, allocations: 442.6 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.9734, allocations: 7.719 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.9737, allocations: 59.72 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.9742, allocations: 190.8 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.9742, allocations: 13.16 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.9743, allocations: 20.28 kB / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.9745, allocations: 131.9 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9745, allocations: 3.938 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.9745, allocations: 3 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.9745, allocations: 11.14 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.366e-05/0.9746, allocations: 57.38 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.975, allocations: 0.5696 MB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.624e-05/0.9751, allocations: 43.41 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.9751, allocations: 15.55 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-06/0.9751, allocations: 4 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.9752, allocations: 97.36 kB / 1.159 GB, free: 30.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.9752, allocations: 0 / 1.159 GB, free: 30.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.000235/0.9754, allocations: 102.3 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.9755, allocations: 83.83 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.9756, allocations: 178.2 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.9756, allocations: 31.67 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.9757, allocations: 126.9 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.9757, allocations: 14.17 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.9758, allocations: 61.06 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.9758, allocations: 321.2 kB / 1.159 GB, free: 29.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.976, allocations: 112.9 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.9761, allocations: 236.3 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.9763, allocations: 168.7 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9763, allocations: 2.562 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000369/0.9767, allocations: 336.4 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.9767, allocations: 64.12 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9767, allocations: 3 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9767, allocations: 6.328 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.9767, allocations: 6.812 kB / 1.16 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.9767, allocations: 6.531 kB / 1.16 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.977, allocations: 57.7 kB / 1.16 GB, free: 28.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.9771, allocations: 11.94 kB / 1.16 GB, free: 28.59 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 8.969e-05/0.9772, allocations: 134.6 kB / 1.16 GB, free: 28.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.9772, allocations: 21.88 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.9772, allocations: 10.59 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9772, allocations: 3.094 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9772, allocations: 0 / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.9772, allocations: 4 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.655e-05/0.9773, allocations: 143.8 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.9773, allocations: 6.828 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-06/0.9773, allocations: 3.938 kB / 1.161 GB, free: 28.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9773, allocations: 3.938 kB / 1.161 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.9773, allocations: 9.953 kB / 1.161 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9773, allocations: 0 / 1.161 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9773, allocations: 2.781 kB / 1.161 GB, free: 28.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.9775, allocations: 115.5 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.9775, allocations: 10.81 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.9775, allocations: 6.75 kB / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.9775, allocations: 7.328 kB / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.9775, allocations: 2.719 kB / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.9776, allocations: 10.17 kB / 1.161 GB, free: 28.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.9776, allocations: 112.8 kB / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9776, allocations: 0 / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002409/0.9778, allocations: 39.41 kB / 1.161 GB, free: 28.07 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.0001153/0.978, allocations: 104.1 kB / 1.161 GB, free: 27.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.9783, allocations: 273.6 kB / 1.161 GB, free: 27.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.9783, allocations: 3.938 kB / 1.161 GB, free: 27.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.9783, allocations: 22.69 kB / 1.161 GB, free: 27.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.9785, allocations: 16.31 kB / 1.161 GB, free: 27.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.9789, allocations: 251.8 kB / 1.162 GB, free: 27.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.979, allocations: 96.12 kB / 1.162 GB, free: 27.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.979, allocations: 16.09 kB / 1.162 GB, free: 27.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.979, allocations: 13.69 kB / 1.162 GB, free: 27.47 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.979, allocations: 0 / 1.162 GB, free: 27.47 MB / 1.076 GB Notification: Performance of Templates: time 0.004727/0.9838, allocations: 2.086 MB / 1.164 GB, free: 27.2 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.167579583008774]