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.001025/0.001025, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001258/0.001258, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9918/0.9918, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.946/1.946, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.559e-06/4.559e-06, allocations: 4 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.912e-05, allocations: 14.02 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002515/0.002555, allocations: 0.8701 MB / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.004537, allocations: 1.342 MB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-05/0.004631, allocations: 9.188 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.004766, allocations: 15.8 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.004868, allocations: 35.72 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.005677, allocations: 261.8 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.006127, allocations: 327.4 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.006295, allocations: 33.66 kB / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.006566, allocations: 187.7 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.006765, allocations: 83.75 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.006822, allocations: 32 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.006934, allocations: 40.86 kB / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.968e-05/0.007014, allocations: 51.83 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.007136, allocations: 88.31 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.007519, allocations: 259.9 kB / 0.8151 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.007523, allocations: 0 / 0.8151 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.844e-06/0.007525, allocations: 1.125 kB / 0.8151 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.00753, allocations: 0 / 0.8151 GB, free: 14.45 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.0007812/0.008312, allocations: 0.5694 MB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.008357, allocations: 13.56 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.008736, allocations: 72.7 kB / 0.8157 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.009288, allocations: 241.9 kB / 0.8159 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.009323, allocations: 14.31 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.009364, allocations: 20.38 kB / 0.816 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.009597, allocations: 141.6 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.009606, allocations: 192 / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.009626, allocations: 8.375 kB / 0.8161 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.009639, allocations: 9.625 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.009731, allocations: 35.91 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.01052, allocations: 0.8321 MB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.01063, allocations: 59.27 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.01067, allocations: 23.97 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.01068, allocations: 7.938 kB / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.01085, allocations: 113.7 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.714e-06/0.01085, allocations: 0 / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002939/0.01115, allocations: 114.2 kB / 0.8173 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.01121, allocations: 81.11 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.01145, allocations: 267.2 kB / 0.8176 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.01148, allocations: 29.7 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.01161, allocations: 188.4 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.01163, allocations: 19.89 kB / 0.8178 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.01175, allocations: 63.34 kB / 0.8179 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01191, allocations: 0.5012 MB / 0.8184 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.01209, allocations: 123.2 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.01231, allocations: 255.6 kB / 0.8187 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.01254, allocations: 207.8 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01254, allocations: 0 / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005038/0.01305, allocations: 349.8 kB / 0.8193 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.01311, allocations: 67.34 kB / 0.8193 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.01312, allocations: 7.984 kB / 0.8193 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01314, allocations: 1.562 kB / 0.8193 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.01321, allocations: 8 kB / 0.8194 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.01322, allocations: 4 kB / 0.8194 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.01347, allocations: 49.03 kB / 0.8194 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.0135, allocations: 8 kB / 0.8194 GB, free: 9.559 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.0001425/0.01364, allocations: 183.7 kB / 0.8196 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.01368, allocations: 19.84 kB / 0.8196 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.01373, allocations: 17.03 kB / 0.8196 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.01373, allocations: 4.469 kB / 0.8196 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01374, allocations: 0 / 0.8196 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01374, allocations: 3.984 kB / 0.8196 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.01392, allocations: 169.1 kB / 0.8198 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01393, allocations: 0 / 0.8198 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.01396, allocations: 9.047 kB / 0.8198 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.01397, allocations: 7.984 kB / 0.8198 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.01398, allocations: 12.94 kB / 0.8198 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01398, allocations: 0 / 0.8198 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01399, allocations: 4 kB / 0.8198 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.01419, allocations: 145.2 kB / 0.82 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.01422, allocations: 19.91 kB / 0.82 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01424, allocations: 7.922 kB / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.01428, allocations: 0 / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.01432, allocations: 9.078 kB / 0.82 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01433, allocations: 8 kB / 0.82 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001301/0.01446, allocations: 173.4 kB / 0.8202 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01446, allocations: 0.6562 kB / 0.8202 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003411/0.0148, allocations: 43.94 kB / 0.8202 GB, free: 8.676 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.0001896/0.01499, allocations: 113.6 kB / 0.8203 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.01539, allocations: 289.7 kB / 0.8206 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01539, allocations: 3.031 kB / 0.8206 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.504e-05/0.01544, allocations: 35.61 kB / 0.8206 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.01577, allocations: 27.98 kB / 0.8207 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.01634, allocations: 303.4 kB / 0.8209 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.634e-05/0.0164, allocations: 71.98 kB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.769e-05/0.01648, allocations: 19.7 kB / 0.821 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.01651, allocations: 16.5 kB / 0.8211 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/0.01651, allocations: 1.094 kB / 0.8211 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of Templates: time 0.005057/0.02157, allocations: 2.671 MB / 0.8237 GB, free: 5.129 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] 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","",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.407318819779903]