Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 387.1 MB / 399.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00099/0.00099, allocations: 176.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008268/0.0008268, allocations: 100.5 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.119e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 142.4 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9541/1.264, allocations: 149.8 MB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.264, allocations: 70.67 kB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01217/1.276, allocations: 4.297 MB / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/1.276, allocations: 0 / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.907e-05/1.276, allocations: 3.938 kB / 1.363 GB, free: 34.43 MB / 0.8386 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.0005786/1.277, allocations: 494 kB / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.277, allocations: 7.594 kB / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/1.277, allocations: 22.88 kB / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/1.277, allocations: 275.8 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/1.277, allocations: 10.31 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/1.277, allocations: 22.5 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/1.278, allocations: 153.8 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.278, allocations: 0 / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/1.278, allocations: 7.062 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.278, allocations: 5.297 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/1.278, allocations: 75.7 kB / 1.364 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/1.279, allocations: 0.8101 MB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/1.279, allocations: 58.5 kB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/1.279, allocations: 31.86 kB / 1.365 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/1.279, allocations: 0 / 1.365 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/1.279, allocations: 108 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.279, allocations: 0 / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002529/1.279, allocations: 118.1 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/1.279, allocations: 87.5 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/1.28, allocations: 202.8 kB / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/1.28, allocations: 29.55 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/1.28, allocations: 146 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/1.28, allocations: 18.17 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/1.28, allocations: 3.594 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.28, allocations: 331 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/1.28, allocations: 69.53 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/1.28, allocations: 141.9 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.28, allocations: 133.1 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.28, allocations: 0 / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000433/1.281, allocations: 297.7 kB / 1.366 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/1.281, allocations: 69.55 kB / 1.367 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.281, allocations: 4.125 kB / 1.367 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.281, allocations: 3.812 kB / 1.367 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/1.281, allocations: 6.828 kB / 1.367 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.281, allocations: 7.922 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/1.281, allocations: 82.44 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/1.281, allocations: 14.25 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,extIntSig.u[2],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.282, allocations: 130.9 kB / 1.367 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/1.282, allocations: 15.19 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/1.282, allocations: 18.75 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.282, allocations: 4 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.282, allocations: 0 / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.282, allocations: 0 / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/1.282, allocations: 239.6 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.282, allocations: 0 / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/1.282, allocations: 6.422 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.282, allocations: 0 / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.282, allocations: 7.25 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.282, allocations: 3.938 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.282, allocations: 3.938 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/1.282, allocations: 160.4 kB / 1.367 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/1.282, allocations: 94.64 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/1.282, allocations: 3.844 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/1.282, allocations: 2.953 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/1.282, allocations: 6.844 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/1.282, allocations: 6.422 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001578/1.283, allocations: 173.5 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.283, allocations: 0 / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002722/1.283, allocations: 50.59 kB / 1.368 GB, free: 31.32 MB / 0.8386 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,extIntSig.u[2],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],intPul1.booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/1.283, allocations: 111.7 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003829/1.283, allocations: 271.5 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.283, allocations: 0 / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/1.284, allocations: 36.83 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/1.284, allocations: 37.42 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/1.284, allocations: 203.1 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/1.285, allocations: 0.7481 MB / 1.369 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.755e-05/1.285, allocations: 19.05 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/1.285, allocations: 11.25 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.285, allocations: 0 / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.005743/1.291, allocations: 2.788 MB / 1.372 GB, free: 29.99 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches