Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001324/0.001324, 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.001497/0.001497, allocations: 215.9 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.484/1.484, 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 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.242/3.242, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 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.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_12_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_12_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.003279/0.003279, allocations: 72.86 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.366, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002518/0.3685, allocations: 0.9493 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3707, allocations: 1.354 MB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3708, allocations: 4 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.3709, allocations: 15.75 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.3711, allocations: 47.64 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.372, allocations: 274.8 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000539/0.3725, allocations: 383.3 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.3727, allocations: 45.78 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.373, allocations: 163.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.3733, allocations: 119.5 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.3734, allocations: 32 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3735, allocations: 48 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3736, allocations: 63.77 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.3738, allocations: 123.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.3743, allocations: 398.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3743, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3743, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.3743, allocations: 0 / 1.33 GB, free: 13.93 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001127/0.3755, allocations: 0.5511 MB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3755, allocations: 8.031 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.3759, allocations: 68.75 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009719/0.3768, allocations: 305.1 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.3769, allocations: 16.38 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.3769, allocations: 20.38 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.3774, allocations: 202.3 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3774, allocations: 3.938 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3774, allocations: 8 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.3775, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.378, allocations: 139.8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3791, allocations: 0.7897 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.3794, allocations: 148.9 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.3797, allocations: 92.23 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3797, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/0.3802, allocations: 167.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3802, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0009033/0.3811, allocations: 269.5 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3812, allocations: 158.2 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3814, allocations: 221 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.3815, allocations: 34.08 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3816, allocations: 156.3 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3816, allocations: 27.8 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.3818, allocations: 57.69 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3819, allocations: 330.8 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.3823, allocations: 163.3 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.3827, allocations: 288.1 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3834, allocations: 278.9 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.3834, allocations: 3.938 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009462/0.3843, allocations: 444.2 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.3844, allocations: 63.41 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3844, allocations: 7.938 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3844, allocations: 8 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3846, allocations: 23.97 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3846, allocations: 7.984 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.385, allocations: 79.83 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3851, allocations: 15.98 kB / 1.335 GB, free: 8.391 MB / 1.029 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.0001804/0.3852, allocations: 150.2 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.3853, allocations: 19.91 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.3853, allocations: 25.27 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3853, allocations: 4 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3853, allocations: 0 / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3853, allocations: 4 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3856, allocations: 193.1 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3856, allocations: 0 / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.3857, allocations: 23.97 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3857, allocations: 7.938 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3857, allocations: 4 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3857, allocations: 0 / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3857, allocations: 0 / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.3863, allocations: 240.3 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.3864, allocations: 27.73 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3864, allocations: 0 / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3865, allocations: 23.97 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.3866, allocations: 15.97 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.3866, allocations: 4 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001497/0.3867, allocations: 168.4 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3867, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000305/0.387, allocations: 51.89 kB / 1.336 GB, free: 7.371 MB / 1.029 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.0001526/0.3872, allocations: 103.4 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008165/0.388, allocations: 381.9 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.388, allocations: 0 / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.3883, allocations: 79.88 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3887, allocations: 62.2 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.3894, allocations: 429.1 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.3896, allocations: 124.9 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.3896, allocations: 27.44 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3896, allocations: 0 / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of Templates: time 0.005609/0.3952, allocations: 3.142 MB / 1.34 GB, free: 2.973 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.77087080758065]