Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001339/0.001339, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001583/0.001583, allocations: 217.6 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.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.779/2.779, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 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.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_11_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_11_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.002053/0.002053, allocations: 67.75 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 169.9 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002554/0.3672, allocations: 1.026 MB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.3692, allocations: 1.371 MB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.3693, allocations: 4 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.3694, allocations: 19.73 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3696, allocations: 47.66 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.3704, allocations: 274.2 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3709, allocations: 387.2 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3711, allocations: 45.78 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.3713, allocations: 155.7 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.3715, allocations: 135.5 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.3715, allocations: 40 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.3717, allocations: 55.97 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.3717, allocations: 55.84 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.3719, allocations: 143.4 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.3724, allocations: 398.5 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3724, allocations: 0 / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3724, allocations: 0 / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3724, allocations: 0 / 1.289 GB, free: 7.086 MB / 0.9825 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.001027/0.3734, allocations: 0.5433 MB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3735, allocations: 12.03 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.3738, allocations: 76.64 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008916/0.3747, allocations: 305.1 kB / 1.29 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.3747, allocations: 24.38 kB / 1.29 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.3748, allocations: 24.36 kB / 1.29 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.3752, allocations: 199.6 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3753, allocations: 7.938 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3753, allocations: 0 / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3753, allocations: 4 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.3757, allocations: 143.7 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.3769, allocations: 0.8827 MB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.3773, allocations: 149 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.3775, allocations: 76.25 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3775, allocations: 7.984 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.3779, allocations: 171.6 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.3779, allocations: 0 / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0008469/0.3787, allocations: 253.2 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.3789, allocations: 170.5 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3791, allocations: 221 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.3791, allocations: 29.7 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3793, allocations: 156.3 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3793, allocations: 27.8 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3794, allocations: 61.62 kB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3796, allocations: 330.8 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.3799, allocations: 107.8 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.3802, allocations: 171.5 kB / 1.293 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.3808, allocations: 270.9 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3808, allocations: 0 / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008639/0.3817, allocations: 380.6 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.3818, allocations: 63.39 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.3818, allocations: 4 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3818, allocations: 4 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.382, allocations: 32.12 kB / 1.293 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.382, allocations: 8 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.3824, allocations: 75.8 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.3824, allocations: 15.98 kB / 1.293 GB, free: 1.738 MB / 0.9825 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.0001671/0.3826, allocations: 157.7 kB / 1.294 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3826, allocations: 15.91 kB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.3827, allocations: 25.33 kB / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3827, allocations: 4 kB / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3827, allocations: 0 / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3827, allocations: 0 / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.3829, allocations: 228.6 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3829, allocations: 0 / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3831, allocations: 23.97 kB / 1.294 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3831, allocations: 8 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3831, allocations: 0 / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3831, allocations: 4 kB / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3831, allocations: 0 / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.3836, allocations: 252 kB / 1.294 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.3837, allocations: 23.8 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3837, allocations: 0 / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3838, allocations: 23.97 kB / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.3839, allocations: 15.98 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3839, allocations: 7.984 kB / 1.294 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001495/0.3841, allocations: 164.4 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3841, allocations: 3.938 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002909/0.3844, allocations: 51.89 kB / 1.294 GB, free: 0.6562 MB / 0.9825 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.0001681/0.3845, allocations: 103.2 kB / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.3853, allocations: 311.1 kB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3853, allocations: 0 / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3856, allocations: 88.42 kB / 1.295 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.386, allocations: 48.61 kB / 1.295 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.3868, allocations: 433.2 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3871, allocations: 0.7437 MB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.3872, allocations: 23.44 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.3872, allocations: 0 / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of Templates: time 0.005621/0.3928, allocations: 3.072 MB / 1.299 GB, free: 11.79 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.609321740979794]