Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0008577/0.0008577, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008201/0.0008201, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8759/0.8759, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.68 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.922e-05, allocations: 5.234 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001273/0.001293, allocations: 0.8436 MB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.002569, allocations: 1.319 MB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.002627, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.002726, allocations: 23.73 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.002792, allocations: 35.72 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.003381, allocations: 267.6 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.003659, allocations: 327.4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.003785, allocations: 41.64 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.003948, allocations: 187.8 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.004083, allocations: 91.73 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.004116, allocations: 28 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.383e-05/0.0042, allocations: 47.92 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.004257, allocations: 43.84 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.004336, allocations: 91.75 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.004638, allocations: 379 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00464, allocations: 4 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004641, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004646, allocations: 0 / 1.005 GB, free: 9.297 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005217/0.005168, allocations: 488.6 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.005199, allocations: 8.75 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.005434, allocations: 76.69 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.005809, allocations: 225.6 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.005827, allocations: 12.38 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.005857, allocations: 24.36 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.006028, allocations: 153.4 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.006037, allocations: 192 / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.006049, allocations: 8.375 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.006056, allocations: 12.11 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.006142, allocations: 67.89 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.006644, allocations: 0.6411 MB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/0.006714, allocations: 61.23 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.00674, allocations: 21.77 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.006749, allocations: 4 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.006875, allocations: 105 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.006876, allocations: 0 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002145/0.00709, allocations: 125.6 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.007128, allocations: 85.03 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.007266, allocations: 215.8 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.00729, allocations: 37.64 kB / 1.007 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.007369, allocations: 144.3 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.007383, allocations: 15.91 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.007454, allocations: 61.67 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.007533, allocations: 326.8 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.007656, allocations: 131.4 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.007803, allocations: 243.4 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.007958, allocations: 198.1 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007959, allocations: 0 / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003211/0.008281, allocations: 364.2 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.008319, allocations: 71.33 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.008325, allocations: 4 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.008336, allocations: 4 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.454e-05/0.00838, allocations: 11.98 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.008385, allocations: 0 / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.008556, allocations: 55.83 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.008576, allocations: 20.09 kB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 9.509e-05/0.008671, allocations: 149.8 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.008686, allocations: 23.78 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.008713, allocations: 13.03 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008715, allocations: 0 / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.00872, allocations: 4 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008724, allocations: 3.984 kB / 1.009 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.008829, allocations: 161.2 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.008829, allocations: 0 / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.008843, allocations: 11.98 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008846, allocations: 4 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.008853, allocations: 7.938 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008854, allocations: 0 / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.008856, allocations: 7.922 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.008965, allocations: 133.9 kB / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.008982, allocations: 20.31 kB / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.008996, allocations: 7.922 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.009015, allocations: 4 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.009038, allocations: 7.984 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.009043, allocations: 8 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.009119, allocations: 145.5 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009119, allocations: 0 / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001863/0.009305, allocations: 43.89 kB / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001032/0.009409, allocations: 116.1 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.009669, allocations: 294.1 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009671, allocations: 3.938 kB / 1.009 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.009711, allocations: 32.3 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.009898, allocations: 29.55 kB / 1.01 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.01028, allocations: 333 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.39e-05/0.01035, allocations: 123.6 kB / 1.01 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.01037, allocations: 20.5 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of SimCode: time 3.9e-07/0.01038, allocations: 0 / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of Templates: time 0.002943/0.01332, allocations: 2.54 MB / 1.012 GB, free: 0.625 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.652272327803075]