Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002072/0.002072, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002739/0.002739, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.881/2.881, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.7e-05, allocations: 7.188 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002493/0.00253, allocations: 0.8556 MB / 0.8116 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.005168, allocations: 1.32 MB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.00527, allocations: 3.938 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.005412, allocations: 17.31 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.005529, allocations: 31.78 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.006435, allocations: 263.2 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.006971, allocations: 328 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.007163, allocations: 33.67 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003576/0.007521, allocations: 192.9 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.00776, allocations: 83.81 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.007841, allocations: 28 kB / 0.8139 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.007978, allocations: 54.36 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.008068, allocations: 47.83 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.008242, allocations: 87.81 kB / 0.8141 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.008812, allocations: 382.9 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.008816, allocations: 0 / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.008817, allocations: 4 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.008827, allocations: 1.156 kB / 0.8144 GB, free: 14.41 MB / 0.7761 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.0009753/0.009803, allocations: 480.7 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.009847, allocations: 8.031 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.0103, allocations: 81.69 kB / 0.815 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.01101, allocations: 242.3 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.01106, allocations: 12.38 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.01111, allocations: 21.44 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.0114, allocations: 149.6 kB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01141, allocations: 1.688 kB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01143, allocations: 384 / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01144, allocations: 8.125 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.0116, allocations: 63.91 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.01256, allocations: 0.647 MB / 0.8161 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.01269, allocations: 61.22 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.01274, allocations: 21.78 kB / 0.8162 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.01276, allocations: 1.562 kB / 0.8162 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.01303, allocations: 109 kB / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.01303, allocations: 0 / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000385/0.01342, allocations: 134.5 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.01348, allocations: 77.11 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.01377, allocations: 223.7 kB / 0.8167 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.01382, allocations: 34.23 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01397, allocations: 140.8 kB / 0.8168 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.014, allocations: 12.91 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.01413, allocations: 65.67 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.01433, allocations: 326.8 kB / 0.8172 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.01455, allocations: 128 kB / 0.8174 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.01486, allocations: 255.2 kB / 0.8176 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.01518, allocations: 192.9 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.01518, allocations: 0 / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006779/0.01586, allocations: 374.2 kB / 0.8181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.01594, allocations: 75.33 kB / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01595, allocations: 0 / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.01597, allocations: 4.844 kB / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.01604, allocations: 11.94 kB / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.01604, allocations: 0.875 kB / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.01641, allocations: 61.39 kB / 0.8183 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.01645, allocations: 15.98 kB / 0.8183 GB, free: 10.07 MB / 0.7761 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.0001827/0.01663, allocations: 143 kB / 0.8184 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.01668, allocations: 31.83 kB / 0.8185 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.01672, allocations: 16.19 kB / 0.8185 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.01672, allocations: 0 / 0.8185 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.01673, allocations: 4 kB / 0.8185 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01673, allocations: 0 / 0.8185 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.01696, allocations: 161.2 kB / 0.8186 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01696, allocations: 0 / 0.8186 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.01699, allocations: 4 kB / 0.8186 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01699, allocations: 0 / 0.8186 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01701, allocations: 12.42 kB / 0.8187 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01701, allocations: 1.125 kB / 0.8187 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01701, allocations: 0 / 0.8187 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.01725, allocations: 141.8 kB / 0.8188 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.01728, allocations: 12.97 kB / 0.8188 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.01732, allocations: 15.92 kB / 0.8188 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.01735, allocations: 4 kB / 0.8188 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.01739, allocations: 5.344 kB / 0.8188 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.01741, allocations: 7.984 kB / 0.8188 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003797/0.01779, allocations: 141.5 kB / 0.819 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01779, allocations: 4 kB / 0.819 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003024/0.01809, allocations: 44.98 kB / 0.819 GB, free: 9.293 MB / 0.7761 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.0002095/0.0183, allocations: 107.8 kB / 0.8191 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.01883, allocations: 305 kB / 0.8194 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01883, allocations: 0 / 0.8194 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.0189, allocations: 24.28 kB / 0.8194 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.01924, allocations: 45.22 kB / 0.8195 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.01993, allocations: 319 kB / 0.8198 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.02008, allocations: 112.5 kB / 0.8199 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.268e-05/0.02016, allocations: 27.62 kB / 0.8199 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.0202, allocations: 16.5 kB / 0.8199 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.0202, allocations: 0 / 0.8199 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of Templates: time 0.007239/0.02744, allocations: 2.671 MB / 0.8225 GB, free: 5.703 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.226139851030894]