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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.927/2.927, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002329/1.118, allocations: 1.027 MB / 1.273 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001865/1.12, allocations: 1.331 MB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/1.12, allocations: 6.031 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/1.12, allocations: 20.44 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/1.121, allocations: 43.92 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/1.121, allocations: 278.3 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/1.122, allocations: 379.5 kB / 1.275 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/1.122, allocations: 56.05 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/1.122, allocations: 154.4 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/1.122, allocations: 131.6 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.714e-05/1.122, allocations: 33.69 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/1.123, allocations: 56.58 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/1.123, allocations: 64.34 kB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/1.123, allocations: 137.4 kB / 1.276 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005755/1.123, allocations: 403.3 kB / 1.276 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.123, allocations: 3.938 kB / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/1.123, allocations: 0 / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.124, allocations: 0 / 1.276 GB, free: 5.48 MB / 0.9981 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.001243/1.125, allocations: 0.6204 MB / 1.277 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.125, allocations: 8.406 kB / 1.277 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/1.125, allocations: 36.39 kB / 1.277 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/1.126, allocations: 374.1 kB / 1.277 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/1.126, allocations: 21.38 kB / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/1.126, allocations: 21.3 kB / 1.277 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/1.127, allocations: 210.5 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.127, allocations: 4.531 kB / 1.277 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/1.127, allocations: 5.969 kB / 1.277 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/1.127, allocations: 3.469 kB / 1.277 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/1.127, allocations: 144.9 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/1.128, allocations: 0.9063 MB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/1.129, allocations: 153.9 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/1.129, allocations: 80.41 kB / 1.278 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/1.129, allocations: 1.875 kB / 1.278 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/1.129, allocations: 169.1 kB / 1.279 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/1.129, allocations: 4 kB / 1.279 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0009063/1.13, allocations: 249.5 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/1.13, allocations: 171.3 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/1.131, allocations: 225.7 kB / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/1.131, allocations: 30.55 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.131, allocations: 152.9 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/1.131, allocations: 30.69 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/1.131, allocations: 54.42 kB / 1.279 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.131, allocations: 338.7 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/1.131, allocations: 99.05 kB / 1.28 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/1.132, allocations: 181.2 kB / 1.28 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/1.132, allocations: 273.6 kB / 1.28 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.132, allocations: 0.6875 kB / 1.28 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009994/1.133, allocations: 372.9 kB / 1.281 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/1.133, allocations: 64.25 kB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.133, allocations: 2.234 kB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.134, allocations: 2.594 kB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.134, allocations: 41.5 kB / 1.281 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.134, allocations: 3.453 kB / 1.281 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/1.134, allocations: 91.42 kB / 1.281 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/1.134, allocations: 14 kB / 1.281 GB, free: 1.891 MB / 0.9981 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.0001612/1.134, allocations: 156.7 kB / 1.281 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/1.134, allocations: 21.39 kB / 1.281 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/1.135, allocations: 27.19 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.135, allocations: 2.469 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.135, allocations: 1.469 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.135, allocations: 2.031 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/1.135, allocations: 257.8 kB / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.135, allocations: 0.8125 kB / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/1.135, allocations: 28.19 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.135, allocations: 2.031 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/1.135, allocations: 7.984 kB / 1.281 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.135, allocations: 1.438 kB / 1.281 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.135, allocations: 5.344 kB / 1.281 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/1.136, allocations: 234.8 kB / 1.282 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/1.136, allocations: 97.16 kB / 1.282 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.136, allocations: 5.641 kB / 1.282 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/1.136, allocations: 18.17 kB / 1.282 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/1.136, allocations: 19.64 kB / 1.282 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/1.136, allocations: 4.859 kB / 1.282 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001373/1.136, allocations: 170.5 kB / 1.282 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.136, allocations: 0 / 1.282 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003389/1.136, allocations: 53.89 kB / 1.282 GB, free: 1.102 MB / 0.9981 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.0001737/1.136, allocations: 115.5 kB / 1.282 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007209/1.137, allocations: 316.6 kB / 1.282 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.137, allocations: 2.469 kB / 1.282 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/1.137, allocations: 75.33 kB / 1.282 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/1.138, allocations: 43.17 kB / 1.283 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/1.138, allocations: 397.4 kB / 1.283 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/1.139, allocations: 0.75 MB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.139, allocations: 35.92 kB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/1.139, allocations: 18.83 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.139, allocations: 0 / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of Templates: time 0.00851/1.147, allocations: 3.211 MB / 1.287 GB, free: 15.54 MB / 1.014 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/jenkins/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: 10.05479283630848]