Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001321/0.001321, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001503/0.001503, allocations: 219.3 kB / 23 MB, free: 4.914 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.261/3.261, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.002104/0.002104, allocations: 69 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002482/0.3559, allocations: 0.9569 MB / 1.366 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.358, allocations: 1.339 MB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.358, allocations: 7.938 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.3582, allocations: 19.8 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.3583, allocations: 51.64 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.3591, allocations: 275.2 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.3595, allocations: 387.2 kB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3597, allocations: 45.77 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.3599, allocations: 151.6 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3601, allocations: 119.6 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.3602, allocations: 32 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3603, allocations: 51.98 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.3604, allocations: 59.78 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3606, allocations: 119.5 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.3611, allocations: 410.5 kB / 1.369 GB, free: 9.625 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3611, allocations: 0 / 1.369 GB, free: 9.625 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3611, allocations: 0 / 1.369 GB, free: 9.625 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3611, allocations: 0 / 1.369 GB, free: 9.625 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001118/0.3622, allocations: 0.5511 MB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3622, allocations: 12.03 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.3626, allocations: 72.7 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009255/0.3635, allocations: 301.1 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.3635, allocations: 16.31 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.3636, allocations: 20.38 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.3641, allocations: 214.9 kB / 1.37 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3641, allocations: 3.938 kB / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.3641, allocations: 8 kB / 1.37 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3641, allocations: 7.938 kB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.3646, allocations: 139.8 kB / 1.37 GB, free: 8.207 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3657, allocations: 0.782 MB / 1.371 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.3661, allocations: 160.9 kB / 1.371 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.3663, allocations: 76.31 kB / 1.371 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3664, allocations: 4 kB / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/0.3668, allocations: 179.4 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3668, allocations: 0 / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0009011/0.3677, allocations: 249.6 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.3679, allocations: 166.1 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3681, allocations: 224.9 kB / 1.372 GB, free: 6.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.3682, allocations: 33.7 kB / 1.372 GB, free: 6.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3683, allocations: 152.3 kB / 1.372 GB, free: 6.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3683, allocations: 31.8 kB / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3685, allocations: 49.69 kB / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3687, allocations: 326.8 kB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.3691, allocations: 171.3 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.3696, allocations: 285.9 kB / 1.373 GB, free: 5.074 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3702, allocations: 278.9 kB / 1.373 GB, free: 4.762 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3702, allocations: 3.938 kB / 1.373 GB, free: 4.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009445/0.3712, allocations: 440 kB / 1.373 GB, free: 4.297 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.3712, allocations: 63.39 kB / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3712, allocations: 0 / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3713, allocations: 4 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3714, allocations: 31.91 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3714, allocations: 8.203 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.3719, allocations: 87.73 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.3719, allocations: 8 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001715/0.3721, allocations: 162.3 kB / 1.374 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.3721, allocations: 20.33 kB / 1.374 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.3722, allocations: 29.33 kB / 1.374 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3722, allocations: 0 / 1.374 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3722, allocations: 4 kB / 1.374 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3722, allocations: 3.984 kB / 1.374 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3724, allocations: 173.2 kB / 1.374 GB, free: 3.656 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3724, allocations: 7.984 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.3725, allocations: 23.92 kB / 1.374 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3725, allocations: 3.938 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3725, allocations: 7.984 kB / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3725, allocations: 8 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3725, allocations: 3.938 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.3731, allocations: 240.2 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.3732, allocations: 15.84 kB / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3732, allocations: 8 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3733, allocations: 19.97 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.3734, allocations: 19.92 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3734, allocations: 4 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000165/0.3736, allocations: 164.5 kB / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3736, allocations: 0 / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003095/0.3739, allocations: 55.88 kB / 1.374 GB, free: 3.055 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001993/0.3741, allocations: 99.23 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008321/0.3749, allocations: 385.9 kB / 1.375 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3749, allocations: 0 / 1.375 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.3752, allocations: 84.42 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3756, allocations: 49.7 kB / 1.375 GB, free: 2.406 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.3763, allocations: 417.1 kB / 1.375 GB, free: 1.957 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.3765, allocations: 140.9 kB / 1.376 GB, free: 1.797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.3765, allocations: 15.44 kB / 1.376 GB, free: 1.781 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3765, allocations: 0 / 1.376 GB, free: 1.781 MB / 1.061 GB Notification: Performance of Templates: time 0.005793/0.3823, allocations: 3.139 MB / 1.379 GB, free: 14.68 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.612788798753172]