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.0009221/0.0009221, allocations: 80.25 kB / 20.03 MB, free: 4.492 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.0008932/0.0008932, allocations: 173.9 kB / 23.34 MB, free: 1.188 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.912/0.912, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.842/1.842, allocations: 390.1 MB / 0.635 GB, free: 11.57 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 4.338e-06/4.338e-06, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.846e-05, allocations: 2.312 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001734/0.001773, allocations: 0.8473 MB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.003322, allocations: 1.331 MB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.003394, allocations: 3.938 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.003522, allocations: 19.86 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.47e-05/0.003596, allocations: 31.72 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.004369, allocations: 263.2 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.004786, allocations: 331.3 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.004977, allocations: 41.64 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.005218, allocations: 187.7 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.00538, allocations: 91.75 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.005426, allocations: 28 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.005544, allocations: 47.97 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.005632, allocations: 43.86 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.005744, allocations: 87.8 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.00617, allocations: 386.9 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.006175, allocations: 0 / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.773e-06/0.006177, allocations: 3.938 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.006185, allocations: 0 / 1.007 GB, free: 7.125 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.0006193/0.006804, allocations: 488.7 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.006844, allocations: 12.03 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.007158, allocations: 72.81 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.007594, allocations: 243 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.007621, allocations: 20.3 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.007652, allocations: 20.38 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.007838, allocations: 145.6 kB / 1.008 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.007846, allocations: 192 / 1.008 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.007859, allocations: 4.375 kB / 1.008 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.007866, allocations: 12.12 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.007952, allocations: 67.89 kB / 1.008 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.008485, allocations: 0.6295 MB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.008563, allocations: 61.3 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.008596, allocations: 25.7 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.008607, allocations: 4 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.0088, allocations: 101 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.008801, allocations: 4 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002388/0.00904, allocations: 137.5 kB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.009083, allocations: 85.09 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.009236, allocations: 211.8 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.009263, allocations: 37.64 kB / 1.009 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.009353, allocations: 140.3 kB / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.009364, allocations: 11.91 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.009443, allocations: 73.62 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.009533, allocations: 322.8 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.009666, allocations: 131.4 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.009827, allocations: 243.3 kB / 1.01 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.009985, allocations: 194.2 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009988, allocations: 0 / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003656/0.01035, allocations: 384.7 kB / 1.01 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.0104, allocations: 71.38 kB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.0104, allocations: 0 / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01042, allocations: 4 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.01047, allocations: 15.92 kB / 1.01 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01048, allocations: 4 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.01066, allocations: 51.88 kB / 1.01 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.01068, allocations: 19.98 kB / 1.01 GB, free: 2.77 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 0.0001159/0.0108, allocations: 149.9 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.01082, allocations: 27.73 kB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.01086, allocations: 17.02 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.01086, allocations: 4 kB / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01087, allocations: 0 / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01087, allocations: 0 / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.01098, allocations: 157.3 kB / 1.011 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01098, allocations: 0 / 1.011 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.011, allocations: 4 kB / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.011, allocations: 8 kB / 1.011 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.01101, allocations: 7.938 kB / 1.011 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01101, allocations: 4 kB / 1.011 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01101, allocations: 4 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.01114, allocations: 133.8 kB / 1.011 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.01116, allocations: 19.91 kB / 1.011 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01118, allocations: 7.875 kB / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.0112, allocations: 0 / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.01123, allocations: 7.984 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.01124, allocations: 8 kB / 1.011 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.253e-05/0.01132, allocations: 145.5 kB / 1.011 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01132, allocations: 0 / 1.011 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001938/0.01151, allocations: 51.88 kB / 1.011 GB, free: 1.965 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.0001443/0.01166, allocations: 103.2 kB / 1.011 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.01195, allocations: 298 kB / 1.012 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01195, allocations: 4 kB / 1.012 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.01198, allocations: 27.98 kB / 1.012 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01221, allocations: 46.17 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.01262, allocations: 310.1 kB / 1.012 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.01269, allocations: 115.6 kB / 1.012 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.01274, allocations: 21.48 kB / 1.012 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.01277, allocations: 16.5 kB / 1.012 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01277, allocations: 0 / 1.012 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of Templates: time 0.004763/0.01753, allocations: 2.654 MB / 1.015 GB, free: 14.36 MB / 0.9792 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 -s cvode -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: 5.347928453236818]