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.001071/0.001071, allocations: 72.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0012/0.0012, allocations: 177.9 kB / 23.22 MB, free: 1.336 MB / 18.57 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 0.8741/0.8741, allocations: 177.2 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.759/1.759, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.977e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001688/0.001718, allocations: 0.9456 MB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.003457, allocations: 1.362 MB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.00355, allocations: 4 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.003687, allocations: 23.67 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.866e-05/0.003786, allocations: 43.66 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.004513, allocations: 284.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.004871, allocations: 387.2 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.00505, allocations: 53.7 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.005302, allocations: 207.7 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.005468, allocations: 111.6 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.005515, allocations: 36 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.005615, allocations: 47.98 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.005697, allocations: 59.77 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.005801, allocations: 99.8 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.006187, allocations: 446.7 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.006189, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.765e-06/0.006192, allocations: 4 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.006199, allocations: 0 / 1.005 GB, free: 8.859 MB / 0.9636 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.0007787/0.006978, allocations: 0.5394 MB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.007015, allocations: 8.75 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.007268, allocations: 76.7 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.00778, allocations: 312.8 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.007801, allocations: 16.38 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.00783, allocations: 20.38 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.008095, allocations: 206.4 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.008106, allocations: 4.125 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.008121, allocations: 8.375 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.008129, allocations: 8.125 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.008376, allocations: 139.8 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.009023, allocations: 0.7859 MB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.009197, allocations: 149 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.009314, allocations: 76.25 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.009327, allocations: 3.984 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.009567, allocations: 171.4 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.009568, allocations: 0 / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0004769/0.01004, allocations: 261.3 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.0101, allocations: 162.5 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.01026, allocations: 229.7 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.01029, allocations: 33.7 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.01036, allocations: 148.4 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.01039, allocations: 35.72 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.01046, allocations: 57.69 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.01054, allocations: 326.8 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.01075, allocations: 167.2 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.01097, allocations: 288.2 kB / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.01128, allocations: 274.9 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01128, allocations: 4 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004783/0.01176, allocations: 444 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.0118, allocations: 71.39 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.0118, allocations: 0 / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01181, allocations: 4 kB / 1.01 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.0119, allocations: 28.38 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01191, allocations: 4 kB / 1.01 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.0121, allocations: 67.97 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01212, allocations: 16 kB / 1.01 GB, free: 3.336 MB / 0.9636 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.000107/0.01222, allocations: 157.7 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.01225, allocations: 23.8 kB / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.01228, allocations: 29.31 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01229, allocations: 0 / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01229, allocations: 12 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.0123, allocations: 0 / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.01242, allocations: 177.2 kB / 1.01 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01243, allocations: 4 kB / 1.01 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.01249, allocations: 23.98 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01249, allocations: 0 / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.0125, allocations: 11.92 kB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.0125, allocations: 3.984 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01251, allocations: 7.938 kB / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.0128, allocations: 236.2 kB / 1.01 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01282, allocations: 23.86 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01283, allocations: 3.938 kB / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.01289, allocations: 23.97 kB / 1.011 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.01294, allocations: 15.92 kB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.01295, allocations: 12 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.75e-05/0.01304, allocations: 157.2 kB / 1.011 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01304, allocations: 0 / 1.011 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002048/0.01324, allocations: 55.88 kB / 1.011 GB, free: 2.305 MB / 0.9636 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.0001174/0.01336, allocations: 103.2 kB / 1.011 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.0138, allocations: 373.9 kB / 1.011 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0138, allocations: 4 kB / 1.011 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01394, allocations: 79.86 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01417, allocations: 62.78 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.01465, allocations: 407.9 kB / 1.012 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.886e-05/0.01474, allocations: 140.8 kB / 1.012 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.01477, allocations: 24.5 kB / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.01477, allocations: 0 / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of Templates: time 0.003522/0.01829, allocations: 3.149 MB / 1.015 GB, free: 13.91 MB / 0.9792 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/jenkins/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: 6.880057342350483]