Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001381, allocations: 99.94 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.001537/0.001537, allocations: 177.3 kB / 15.95 MB, free: 216 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.457/1.457, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.49/2.49, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 19.94 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.9333, allocations: 142.3 MB / 0.9535 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0008918/0.9342, allocations: 423.9 kB / 0.9539 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.9355, allocations: 1.183 MB / 0.9551 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.9356, allocations: 5.469 kB / 0.9551 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.9357, allocations: 17.11 kB / 0.9551 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.9357, allocations: 10.62 kB / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.9363, allocations: 209.5 kB / 0.9553 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.9365, allocations: 131.3 kB / 0.9554 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.9366, allocations: 34.28 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.9367, allocations: 76.97 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.9368, allocations: 62.98 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.9368, allocations: 9.5 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.9369, allocations: 30.91 kB / 0.9556 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.937, allocations: 25.2 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.9371, allocations: 51.33 kB / 0.9557 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.9372, allocations: 170 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9372, allocations: 0.875 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9373, allocations: 3.938 kB / 0.9559 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.9373, allocations: 0 / 0.9559 GB, free: 6.266 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004052/0.9377, allocations: 466.2 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.9377, allocations: 8.844 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.9378, allocations: 20.58 kB / 0.9564 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.9384, allocations: 265.8 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.9384, allocations: 16.33 kB / 0.9566 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.9384, allocations: 17.38 kB / 0.9566 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.9386, allocations: 129.9 kB / 0.9568 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9386, allocations: 7.938 kB / 0.9568 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.9387, allocations: 5.062 kB / 0.9568 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9387, allocations: 2.562 kB / 0.9568 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.9388, allocations: 45.91 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.9393, allocations: 0.6754 MB / 0.9575 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.9394, allocations: 38.22 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.9394, allocations: 8.859 kB / 0.9575 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.9395, allocations: 92.89 kB / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.9395, allocations: 0 / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002072/0.9397, allocations: 100.7 kB / 0.9577 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.9398, allocations: 78.3 kB / 0.9578 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.9399, allocations: 172.3 kB / 0.958 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.9399, allocations: 31.05 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.94, allocations: 122 kB / 0.9581 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.94, allocations: 18.05 kB / 0.9581 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.94, allocations: 3.594 kB / 0.9581 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.9401, allocations: 321.6 kB / 0.9584 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.9402, allocations: 56.64 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.9403, allocations: 122.5 kB / 0.9586 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.9404, allocations: 107 kB / 0.9587 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9404, allocations: 0 / 0.9587 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003416/0.9408, allocations: 271.8 kB / 0.959 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.9408, allocations: 64.39 kB / 0.959 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9408, allocations: 1.812 kB / 0.959 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9408, allocations: 2 kB / 0.959 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.991e-05/0.9409, allocations: 11.48 kB / 0.959 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.9409, allocations: 1.812 kB / 0.959 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.9413, allocations: 94.64 kB / 0.9591 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.9413, allocations: 15.16 kB / 0.9591 GB, free: 3.246 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: 10 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked 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 9.535e-05/0.9414, allocations: 138.3 kB / 0.9593 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.9414, allocations: 21.67 kB / 0.9593 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.9415, allocations: 12.38 kB / 0.9593 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.9415, allocations: 0 / 0.9593 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9415, allocations: 1.375 kB / 0.9593 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9415, allocations: 5.359 kB / 0.9593 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.9416, allocations: 202.3 kB / 0.9595 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9416, allocations: 5.312 kB / 0.9595 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.9416, allocations: 1.375 kB / 0.9595 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9416, allocations: 1.375 kB / 0.9595 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.9416, allocations: 9.312 kB / 0.9595 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9416, allocations: 4 kB / 0.9595 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9416, allocations: 1.375 kB / 0.9595 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.9418, allocations: 124.6 kB / 0.9596 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.9418, allocations: 87.67 kB / 0.9597 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.9418, allocations: 5.328 kB / 0.9597 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.9418, allocations: 1.375 kB / 0.9597 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.9419, allocations: 18.67 kB / 0.9598 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.9419, allocations: 6.812 kB / 0.9598 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.9419, allocations: 118.3 kB / 0.9599 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9419, allocations: 0 / 0.9599 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002394/0.9422, allocations: 35.56 kB / 0.9599 GB, free: 2.508 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001213/0.9423, allocations: 110.3 kB / 0.96 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.9426, allocations: 236.7 kB / 0.9602 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9426, allocations: 0 / 0.9602 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.9426, allocations: 21.28 kB / 0.9603 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.9428, allocations: 19.44 kB / 0.9603 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.9432, allocations: 256.7 kB / 0.9605 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.9433, allocations: 0.7143 MB / 0.9612 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.948e-05/0.9434, allocations: 16.72 kB / 0.9612 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.9434, allocations: 22.09 kB / 0.9613 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9434, allocations: 0 / 0.9613 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.00438/0.9478, allocations: 1.839 MB / 0.963 GB, free: 328 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches