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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001093/0.001093, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001227/0.001227, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.2 MB / 0.6653 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9036/0.9039, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001232/0.9052, allocations: 0.5586 MB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.9074, allocations: 1.237 MB / 0.9553 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.9076, allocations: 5.5 kB / 0.9553 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.9077, allocations: 7.922 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.9079, allocations: 30.48 kB / 0.9553 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.9089, allocations: 222.6 kB / 0.9555 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.9093, allocations: 170.3 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.9095, allocations: 38.92 kB / 0.9557 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.9098, allocations: 92.83 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.91, allocations: 83.14 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.9101, allocations: 11 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.9103, allocations: 30.95 kB / 0.9559 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.9104, allocations: 47.17 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.9105, allocations: 57.61 kB / 0.956 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.9109, allocations: 256.9 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9109, allocations: 1.25 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9109, allocations: 0 / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.9109, allocations: 0 / 0.9563 GB, free: 5.965 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.0008744/0.9118, allocations: 0.5012 MB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.9119, allocations: 9.156 kB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.912, allocations: 26.08 kB / 0.9568 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/0.9129, allocations: 299.5 kB / 0.9571 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.913, allocations: 11.84 kB / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.9131, allocations: 18.38 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.9134, allocations: 153 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.9134, allocations: 0 / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.9134, allocations: 5.375 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.9135, allocations: 2.75 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.9136, allocations: 69.23 kB / 0.9573 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009406/0.9146, allocations: 0.7602 MB / 0.9581 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.549e-05/0.9147, allocations: 58.06 kB / 0.9581 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.9147, allocations: 1.344 kB / 0.9581 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.9149, allocations: 100.7 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.9149, allocations: 1.125 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003505/0.9152, allocations: 132.1 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.9153, allocations: 79.02 kB / 0.9584 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.9155, allocations: 215.2 kB / 0.9586 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.9156, allocations: 35.14 kB / 0.9587 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.9157, allocations: 141.8 kB / 0.9588 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.9157, allocations: 19.14 kB / 0.9588 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.9158, allocations: 3.094 kB / 0.9588 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.9158, allocations: 327.2 kB / 0.9591 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.916, allocations: 72.2 kB / 0.9592 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.9162, allocations: 131 kB / 0.9593 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.9164, allocations: 127.2 kB / 0.9595 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.9164, allocations: 1.625 kB / 0.9595 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004931/0.9169, allocations: 297.4 kB / 0.9597 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.917, allocations: 65.33 kB / 0.9598 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.917, allocations: 1.219 kB / 0.9598 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.917, allocations: 4.969 kB / 0.9598 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.9171, allocations: 13.72 kB / 0.9598 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.9171, allocations: 10.89 kB / 0.9598 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.9176, allocations: 86.7 kB / 0.9599 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.9176, allocations: 14.98 kB / 0.9599 GB, free: 2.684 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,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.9178, allocations: 145 kB / 0.9601 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.9178, allocations: 14.69 kB / 0.9601 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.9179, allocations: 18.42 kB / 0.9601 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9179, allocations: 1.375 kB / 0.9601 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.9179, allocations: 4 kB / 0.9601 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.9179, allocations: 5.328 kB / 0.9601 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.9181, allocations: 237.3 kB / 0.9603 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.9182, allocations: 0 / 0.9603 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.9182, allocations: 4.125 kB / 0.9603 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.9182, allocations: 1.375 kB / 0.9603 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.9182, allocations: 1.375 kB / 0.9603 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9182, allocations: 1.375 kB / 0.9603 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9182, allocations: 1.375 kB / 0.9603 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.9184, allocations: 154 kB / 0.9605 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.9185, allocations: 89.05 kB / 0.9606 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.9185, allocations: 1.375 kB / 0.9606 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.077e-05/0.9185, allocations: 5.375 kB / 0.9606 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.9186, allocations: 10.69 kB / 0.9606 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.9186, allocations: 2.75 kB / 0.9606 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001219/0.9187, allocations: 147.9 kB / 0.9607 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.52e-07/0.9187, allocations: 0 / 0.9607 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003106/0.919, allocations: 48.95 kB / 0.9608 GB, free: 1.91 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 (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.0001837/0.9192, allocations: 119 kB / 0.9609 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.9197, allocations: 251.4 kB / 0.9611 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9197, allocations: 0 / 0.9611 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.9197, allocations: 38.91 kB / 0.9612 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.92, allocations: 43.41 kB / 0.9612 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.9207, allocations: 331 kB / 0.9615 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.9209, allocations: 0.7325 MB / 0.9622 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.17e-05/0.921, allocations: 22.94 kB / 0.9623 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.921, allocations: 14.78 kB / 0.9623 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.921, allocations: 1.156 kB / 0.9623 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of Templates: time 0.007635/0.9287, allocations: 2.349 MB / 0.9646 GB, free: 15.39 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches