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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 190.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8345, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002465/0.837, allocations: 0.9167 MB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.8392, allocations: 1.295 MB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.8393, allocations: 1.5 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.8395, allocations: 9.125 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.8396, allocations: 26.53 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.8405, allocations: 241.5 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.8409, allocations: 351.8 kB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.8411, allocations: 58.33 kB / 0.9519 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.8413, allocations: 132.6 kB / 0.9521 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.8416, allocations: 123.5 kB / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.8417, allocations: 33.16 kB / 0.9522 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.8418, allocations: 43.89 kB / 0.9522 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.8419, allocations: 42.73 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.842, allocations: 119.8 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.8423, allocations: 323.7 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8423, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8424, allocations: 1.219 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.8424, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7169 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.0006892/0.8431, allocations: 0.536 MB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.8431, allocations: 12.84 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.8432, allocations: 27.41 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.8438, allocations: 304.3 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.8439, allocations: 12.53 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.8439, allocations: 22.33 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.8441, allocations: 157.2 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8442, allocations: 1.469 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.8442, allocations: 5.438 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.8442, allocations: 2.531 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.8443, allocations: 69.14 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.845, allocations: 0.7539 MB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.688e-05/0.8451, allocations: 55.23 kB / 0.9546 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.8451, allocations: 25.06 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.8451, allocations: 1.594 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.8453, allocations: 100.5 kB / 0.9547 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.8453, allocations: 1.188 kB / 0.9547 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002759/0.8456, allocations: 128.8 kB / 0.9549 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.8456, allocations: 79.3 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.8458, allocations: 212.8 kB / 0.9551 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.8458, allocations: 37.61 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.8459, allocations: 136.9 kB / 0.9553 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.8459, allocations: 23.89 kB / 0.9553 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.8461, allocations: 62.17 kB / 0.9554 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.8461, allocations: 326.2 kB / 0.9557 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.8463, allocations: 73.7 kB / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.8464, allocations: 121.6 kB / 0.9559 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.8466, allocations: 189.7 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8466, allocations: 1.375 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004239/0.847, allocations: 298.5 kB / 0.9563 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.8471, allocations: 69.23 kB / 0.9564 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8471, allocations: 1.375 kB / 0.9564 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8471, allocations: 2.688 kB / 0.9564 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.8472, allocations: 12.72 kB / 0.9564 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.8472, allocations: 5.422 kB / 0.9564 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.8475, allocations: 52.42 kB / 0.9565 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.8476, allocations: 14.61 kB / 0.9565 GB, free: 2.98 MB / 0.7169 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.0001097/0.8477, allocations: 154.3 kB / 0.9566 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.8477, allocations: 17.33 kB / 0.9567 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.8477, allocations: 16.25 kB / 0.9567 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8478, allocations: 0 / 0.9567 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8478, allocations: 3.938 kB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8478, allocations: 4 kB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.8479, allocations: 233.9 kB / 0.9569 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8479, allocations: 0 / 0.9569 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.8479, allocations: 10.11 kB / 0.9569 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.848, allocations: 1.156 kB / 0.9569 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.848, allocations: 1.25 kB / 0.9569 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.848, allocations: 1.594 kB / 0.9569 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.848, allocations: 0 / 0.9569 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.8481, allocations: 144.5 kB / 0.9571 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.8482, allocations: 89.27 kB / 0.9571 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.8482, allocations: 17.23 kB / 0.9572 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.8482, allocations: 1.281 kB / 0.9572 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.8483, allocations: 7.375 kB / 0.9572 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.8483, allocations: 3.781 kB / 0.9572 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001001/0.8484, allocations: 148.1 kB / 0.9573 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8484, allocations: 0 / 0.9573 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002655/0.8487, allocations: 47.44 kB / 0.9574 GB, free: 2.207 MB / 0.7169 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.0001333/0.8488, allocations: 113.7 kB / 0.9575 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.8492, allocations: 259.7 kB / 0.9577 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8492, allocations: 1.375 kB / 0.9577 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.8492, allocations: 29.86 kB / 0.9577 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.8496, allocations: 40.62 kB / 0.9578 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.8501, allocations: 353 kB / 0.9581 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.8503, allocations: 0.7269 MB / 0.9588 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.099e-05/0.8503, allocations: 26.38 kB / 0.9589 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.8504, allocations: 18.81 kB / 0.9589 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8504, allocations: 0 / 0.9589 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of Templates: time 0.006178/0.8566, allocations: 2.358 MB / 0.9612 GB, free: 15.67 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches