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.001109/0.001109, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.403/1.403, allocations: 223.3 MB / 241 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.478/2.478, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8236, allocations: 142.4 MB / 0.9557 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009343/0.8246, allocations: 443.8 kB / 0.9561 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.8261, allocations: 1.255 MB / 0.9574 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.8261, allocations: 1.688 kB / 0.9574 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.942e-05/0.8263, allocations: 3.938 kB / 0.9574 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.8263, allocations: 14.53 kB / 0.9574 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.827, allocations: 225 kB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.8272, allocations: 215.7 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.8274, allocations: 39.03 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.8275, allocations: 87.97 kB / 0.9579 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.8278, allocations: 98.41 kB / 0.958 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.8278, allocations: 6.875 kB / 0.958 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.8279, allocations: 19.8 kB / 0.958 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.828, allocations: 28.95 kB / 0.9581 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.8281, allocations: 100.3 kB / 0.9582 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.8283, allocations: 146.2 kB / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.8283, allocations: 7.984 kB / 0.9583 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8283, allocations: 3.938 kB / 0.9583 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8283, allocations: 0 / 0.9583 GB, free: 5.711 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.0004881/0.8288, allocations: 460.1 kB / 0.9588 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8289, allocations: 9.312 kB / 0.9588 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.829, allocations: 19.53 kB / 0.9588 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.8295, allocations: 267.5 kB / 0.959 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.8296, allocations: 14.39 kB / 0.9591 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.8296, allocations: 17.22 kB / 0.9591 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.8298, allocations: 127.8 kB / 0.9592 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8298, allocations: 5.969 kB / 0.9592 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8298, allocations: 4 kB / 0.9592 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.8299, allocations: 3.875 kB / 0.9592 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.8299, allocations: 53.56 kB / 0.9593 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.8305, allocations: 0.6611 MB / 0.9599 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.354e-05/0.8306, allocations: 41.81 kB / 0.9599 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.8306, allocations: 22.05 kB / 0.96 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.8306, allocations: 1.312 kB / 0.96 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.8308, allocations: 96.69 kB / 0.9601 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.8308, allocations: 0 / 0.9601 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002344/0.831, allocations: 100.4 kB / 0.9602 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.8311, allocations: 82.88 kB / 0.9602 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.8312, allocations: 176.2 kB / 0.9604 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.8313, allocations: 29.83 kB / 0.9604 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.8314, allocations: 114.9 kB / 0.9605 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.8314, allocations: 22.55 kB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.8314, allocations: 32.7 kB / 0.9606 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.8315, allocations: 321.6 kB / 0.9609 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.8316, allocations: 52.84 kB / 0.961 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.8318, allocations: 98.45 kB / 0.961 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.8319, allocations: 174 kB / 0.9612 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.832, allocations: 1.375 kB / 0.9612 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00039/0.8323, allocations: 278.9 kB / 0.9615 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.8324, allocations: 68.95 kB / 0.9615 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8324, allocations: 9.312 kB / 0.9616 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8324, allocations: 2.75 kB / 0.9616 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.043e-05/0.8325, allocations: 4.125 kB / 0.9616 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8325, allocations: 5.312 kB / 0.9616 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.8328, allocations: 82.91 kB / 0.9616 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.8329, allocations: 13.61 kB / 0.9617 GB, free: 2.586 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 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.833, allocations: 140 kB / 0.9618 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.833, allocations: 13.34 kB / 0.9618 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.8331, allocations: 11 kB / 0.9618 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8331, allocations: 5.359 kB / 0.9618 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8331, allocations: 1.375 kB / 0.9618 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8331, allocations: 0 / 0.9618 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.8332, allocations: 199.7 kB / 0.962 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8332, allocations: 3.938 kB / 0.962 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.8332, allocations: 2.688 kB / 0.962 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8332, allocations: 4 kB / 0.962 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.8333, allocations: 2.688 kB / 0.962 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8333, allocations: 3.938 kB / 0.962 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8333, allocations: 1.312 kB / 0.962 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.8334, allocations: 111.1 kB / 0.9621 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.8334, allocations: 87.86 kB / 0.9622 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.8335, allocations: 1.25 kB / 0.9622 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.8335, allocations: 5.281 kB / 0.9622 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.8335, allocations: 11.48 kB / 0.9622 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8335, allocations: 2.469 kB / 0.9622 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.356e-05/0.8336, allocations: 119.7 kB / 0.9624 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8336, allocations: 0 / 0.9624 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002594/0.8339, allocations: 41.36 kB / 0.9624 GB, free: 1.887 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 (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.0001464/0.834, allocations: 107.8 kB / 0.9625 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.8344, allocations: 235.8 kB / 0.9627 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8344, allocations: 1 kB / 0.9627 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.8344, allocations: 30.61 kB / 0.9627 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.8347, allocations: 21.27 kB / 0.9628 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.8352, allocations: 309.1 kB / 0.9631 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.8354, allocations: 0.7095 MB / 0.9638 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.8354, allocations: 16.28 kB / 0.9638 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.8354, allocations: 0 / 0.9638 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of Templates: time 0.004184/0.8396, allocations: 1.841 MB / 0.9656 GB, free: 15.65 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches