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.001635/0.001635, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.001982/0.001982, allocations: 166.6 kB / 22.46 MB, free: 5.379 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.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.019/3.019, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.627e-06/3.627e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.439e-05, allocations: 2.281 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002601/0.002635, allocations: 0.9678 MB / 1.001 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.005163, allocations: 1.357 MB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.005305, allocations: 4 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.005465, allocations: 27.67 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.005634, allocations: 39.66 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.006664, allocations: 285.4 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.007273, allocations: 383.2 kB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.007457, allocations: 45.77 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.007864, allocations: 215.6 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.008196, allocations: 111.7 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.008282, allocations: 32 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.008426, allocations: 48 kB / 1.004 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.0086, allocations: 63.75 kB / 1.004 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.008773, allocations: 103.7 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.009453, allocations: 438.7 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.009458, allocations: 0 / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.009459, allocations: 0 / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.00947, allocations: 0 / 1.004 GB, free: 3.164 MB / 0.9512 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.001458/0.01093, allocations: 0.5511 MB / 1.005 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.01097, allocations: 8.031 kB / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004301/0.0114, allocations: 76.7 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.01247, allocations: 308.8 kB / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.01251, allocations: 16.38 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.01257, allocations: 24.36 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/0.01327, allocations: 194.4 kB / 1.005 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.01328, allocations: 4.125 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.01331, allocations: 8.375 kB / 1.005 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01332, allocations: 4.125 kB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.01389, allocations: 143.8 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01534, allocations: 0.7897 MB / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.01574, allocations: 149 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.01603, allocations: 80.3 kB / 1.006 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.01606, allocations: 0 / 1.006 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.01657, allocations: 171.5 kB / 1.007 GB, free: 448 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.01657, allocations: 0 / 1.007 GB, free: 448 kB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.001088/0.01766, allocations: 273.7 kB / 1.007 GB, free: 168 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/0.01785, allocations: 154.2 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.01811, allocations: 221.8 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.01817, allocations: 33.7 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.01831, allocations: 152.4 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.01842, allocations: 31.73 kB / 1.007 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.01855, allocations: 57.69 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.01877, allocations: 338.9 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.01919, allocations: 163.3 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.01969, allocations: 286.7 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.02044, allocations: 274.9 kB / 1.008 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.02044, allocations: 0 / 1.008 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001107/0.02155, allocations: 447.9 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.02163, allocations: 71.33 kB / 1.009 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.02164, allocations: 4 kB / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.02166, allocations: 8.312 kB / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.02186, allocations: 23.97 kB / 1.009 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.02187, allocations: 4 kB / 1.009 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.02237, allocations: 67.84 kB / 1.009 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.02242, allocations: 19.98 kB / 1.009 GB, free: 13.63 MB / 0.9669 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.0002364/0.02266, allocations: 154.3 kB / 1.009 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.0227, allocations: 27.8 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.02284, allocations: 21.33 kB / 1.009 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.02285, allocations: 4 kB / 1.009 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.02286, allocations: 0 / 1.009 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.02287, allocations: 4 kB / 1.009 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.02313, allocations: 177.2 kB / 1.009 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02313, allocations: 0 / 1.009 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.02331, allocations: 35.97 kB / 1.009 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.02331, allocations: 0 / 1.009 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.02333, allocations: 7.938 kB / 1.009 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.02334, allocations: 7.938 kB / 1.009 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.02334, allocations: 4 kB / 1.009 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.02411, allocations: 240.2 kB / 1.01 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.02415, allocations: 19.86 kB / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.02418, allocations: 7.922 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.02433, allocations: 19.98 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.02441, allocations: 19.91 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.02442, allocations: 4 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001799/0.0246, allocations: 165.2 kB / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.0246, allocations: 0 / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003397/0.02494, allocations: 47.89 kB / 1.01 GB, free: 12.61 MB / 0.9669 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.0002964/0.02524, allocations: 121.1 kB / 1.01 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009848/0.02622, allocations: 369.9 kB / 1.01 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.02622, allocations: 448 / 1.01 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.02661, allocations: 79.88 kB / 1.011 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.02701, allocations: 40.59 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.02781, allocations: 386.2 kB / 1.011 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.02796, allocations: 136.8 kB / 1.011 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.02807, allocations: 33.62 kB / 1.011 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.02813, allocations: 20.5 kB / 1.011 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.02813, allocations: 3.938 kB / 1.011 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of Templates: time 0.008481/0.03661, allocations: 3.327 MB / 1.014 GB, free: 8.09 MB / 0.9669 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: 8.664638824760914]