Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001459/0.001459, allocations: 109.1 kB / 16.46 MB, free: 6.512 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.001295/0.001295, allocations: 198.8 kB / 19.41 MB, free: 3.668 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 443.4 MB / 0.7286 GB, free: 13.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 72.11 kB / 1.056 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9641/0.9662, allocations: 160.7 MB / 1.213 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.003338/0.9695, allocations: 0.8773 MB / 1.214 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.9724, allocations: 1.302 MB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.9725, allocations: 1.312 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.9727, allocations: 20.98 kB / 1.216 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.9729, allocations: 33.78 kB / 1.216 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.9739, allocations: 263.6 kB / 1.216 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.9744, allocations: 333 kB / 1.216 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.9746, allocations: 52.03 kB / 1.216 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.9748, allocations: 133.5 kB / 1.216 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.975, allocations: 108 kB / 1.216 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.9751, allocations: 32.8 kB / 1.216 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.9752, allocations: 47.73 kB / 1.216 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.9753, allocations: 50.94 kB / 1.217 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.9754, allocations: 121 kB / 1.217 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.9759, allocations: 340.5 kB / 1.217 GB, free: 1.449 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9759, allocations: 0 / 1.217 GB, free: 1.449 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9759, allocations: 0 / 1.217 GB, free: 1.449 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.9759, allocations: 4.906 kB / 1.217 GB, free: 1.445 MB / 0.92 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.0009562/0.9769, allocations: 0.5545 MB / 1.218 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.9769, allocations: 10.16 kB / 1.218 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.9771, allocations: 31.09 kB / 1.218 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/0.9779, allocations: 303.4 kB / 1.218 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.978, allocations: 13.81 kB / 1.218 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.978, allocations: 22.69 kB / 1.218 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.9783, allocations: 145.7 kB / 1.218 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.9784, allocations: 3.938 kB / 1.218 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.9784, allocations: 5.5 kB / 1.218 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9784, allocations: 3.062 kB / 1.218 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.9785, allocations: 73.83 kB / 1.218 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.9796, allocations: 0.7463 MB / 1.219 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.9797, allocations: 61.48 kB / 1.219 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.9798, allocations: 28.48 kB / 1.219 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.9798, allocations: 1.25 kB / 1.219 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.98, allocations: 105.5 kB / 1.219 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.98, allocations: 0 / 1.219 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004579/0.9805, allocations: 125.5 kB / 1.219 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.9806, allocations: 83.3 kB / 1.219 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.9809, allocations: 220.9 kB / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.981, allocations: 30.17 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.9811, allocations: 141.6 kB / 1.22 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.9812, allocations: 27.16 kB / 1.22 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.9814, allocations: 69.11 kB / 1.22 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.9816, allocations: 326.6 kB / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.9818, allocations: 64.97 kB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.9821, allocations: 138.1 kB / 1.22 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.9825, allocations: 195.2 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9825, allocations: 0 / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007914/0.9833, allocations: 293.6 kB / 1.221 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.9834, allocations: 73.48 kB / 1.221 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.9834, allocations: 2.281 kB / 1.221 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.9834, allocations: 2.062 kB / 1.221 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.9835, allocations: 12.03 kB / 1.221 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.9836, allocations: 2.188 kB / 1.221 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/0.9842, allocations: 73.06 kB / 1.221 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.9843, allocations: 13.83 kB / 1.221 GB, free: 13.98 MB / 0.9356 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 0.0002388/0.9845, allocations: 155.6 kB / 1.221 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.9845, allocations: 19.08 kB / 1.221 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.9846, allocations: 17.84 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.9846, allocations: 2.156 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9846, allocations: 0 / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9846, allocations: 1.125 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.985, allocations: 233.8 kB / 1.221 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.985, allocations: 0 / 1.221 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.985, allocations: 12.59 kB / 1.221 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.985, allocations: 3.984 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.985, allocations: 6.469 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.985, allocations: 1.344 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.985, allocations: 0 / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.9854, allocations: 129.2 kB / 1.221 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.9855, allocations: 89.45 kB / 1.221 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.9855, allocations: 9.156 kB / 1.221 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.9855, allocations: 5.297 kB / 1.221 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.9856, allocations: 6.469 kB / 1.221 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.9856, allocations: 7.25 kB / 1.221 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001727/0.9858, allocations: 148.4 kB / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9858, allocations: 0 / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004407/0.9862, allocations: 48.23 kB / 1.222 GB, free: 13.2 MB / 0.9356 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.0002005/0.9864, allocations: 109.4 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.9868, allocations: 235.9 kB / 1.222 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9868, allocations: 1.125 kB / 1.222 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.9869, allocations: 30.89 kB / 1.222 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.9872, allocations: 33.08 kB / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.9879, allocations: 310.6 kB / 1.222 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.9882, allocations: 0.7305 MB / 1.223 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.986e-05/0.9883, allocations: 26.44 kB / 1.223 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.9884, allocations: 16.12 kB / 1.223 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.9884, allocations: 0 / 1.223 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of Templates: time 0.008802/0.9972, allocations: 2.549 MB / 1.226 GB, free: 10.63 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.027797910384834]