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.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.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.001499/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001624/0.001624, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.453/2.453, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7226, allocations: 140.3 MB / 0.9489 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001778/0.7244, allocations: 0.7833 MB / 0.9497 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.7257, allocations: 1.265 MB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.7258, allocations: 1.375 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.7259, allocations: 17.33 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.756e-05/0.726, allocations: 6.625 kB / 0.9509 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.7265, allocations: 220.6 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.7267, allocations: 215.8 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.7269, allocations: 35.64 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.727, allocations: 94.41 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.7272, allocations: 97.22 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.7273, allocations: 11.19 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.7274, allocations: 25.77 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.7274, allocations: 29.25 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.7275, allocations: 84.81 kB / 0.9517 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.7278, allocations: 204.2 kB / 0.9519 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7278, allocations: 4.938 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7278, allocations: 0 / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7278, allocations: 0 / 0.9519 GB, free: 6.93 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.0005412/0.7283, allocations: 499.7 kB / 0.9524 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7284, allocations: 14.27 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.7285, allocations: 16.06 kB / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.729, allocations: 265.9 kB / 0.9527 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.7291, allocations: 10.86 kB / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.7291, allocations: 17.81 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.7293, allocations: 132.3 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7293, allocations: 3.938 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7294, allocations: 5.312 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.7294, allocations: 2.906 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.7295, allocations: 53 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.73, allocations: 0.6615 MB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.7301, allocations: 42.84 kB / 0.9536 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.7301, allocations: 18.28 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.7301, allocations: 3.938 kB / 0.9536 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.7303, allocations: 100.5 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.7303, allocations: 0 / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002666/0.7306, allocations: 101.5 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.7307, allocations: 82.53 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.7308, allocations: 168 kB / 0.954 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.7308, allocations: 34.64 kB / 0.9541 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.7309, allocations: 122.5 kB / 0.9542 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.731, allocations: 9.984 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.7311, allocations: 60.89 kB / 0.9543 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.7311, allocations: 321.5 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.7313, allocations: 51.34 kB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.7314, allocations: 108.2 kB / 0.9547 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.7316, allocations: 174 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7317, allocations: 5.281 kB / 0.9549 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000474/0.7321, allocations: 270.3 kB / 0.9551 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.7322, allocations: 68.42 kB / 0.9552 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.7322, allocations: 2.312 kB / 0.9552 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.7322, allocations: 2.375 kB / 0.9552 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.349e-05/0.7323, allocations: 3.312 kB / 0.9552 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.7323, allocations: 6.25 kB / 0.9552 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.7326, allocations: 60.75 kB / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.7326, allocations: 13.86 kB / 0.9553 GB, free: 3.781 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.0001005/0.7327, allocations: 138 kB / 0.9554 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.7328, allocations: 17.41 kB / 0.9554 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.7328, allocations: 7.219 kB / 0.9554 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7328, allocations: 9.297 kB / 0.9555 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7328, allocations: 5.469 kB / 0.9555 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.7328, allocations: 0 / 0.9555 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.7329, allocations: 203.4 kB / 0.9557 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.733, allocations: 5.344 kB / 0.9557 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.733, allocations: 1.156 kB / 0.9557 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.733, allocations: 1.156 kB / 0.9557 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.733, allocations: 5.031 kB / 0.9557 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.733, allocations: 1.469 kB / 0.9557 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.733, allocations: 0 / 0.9557 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.7331, allocations: 115.3 kB / 0.9558 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.7332, allocations: 88.23 kB / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7332, allocations: 1.562 kB / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.7332, allocations: 1.219 kB / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.7332, allocations: 6.641 kB / 0.9559 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.7333, allocations: 6.781 kB / 0.9559 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.217e-05/0.7333, allocations: 120.1 kB / 0.956 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7333, allocations: 4 kB / 0.956 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002545/0.7336, allocations: 44.7 kB / 0.956 GB, free: 3.066 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.0001305/0.7337, allocations: 106.6 kB / 0.9561 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.734, allocations: 229.8 kB / 0.9564 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.734, allocations: 1.062 kB / 0.9564 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.7341, allocations: 26.05 kB / 0.9564 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.7343, allocations: 28.2 kB / 0.9564 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.7348, allocations: 280.3 kB / 0.9567 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.735, allocations: 0.7087 MB / 0.9574 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.735, allocations: 12.09 kB / 0.9574 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.735, allocations: 14 kB / 0.9574 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7351, allocations: 4 kB / 0.9574 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of Templates: time 0.004588/0.7396, allocations: 1.766 MB / 0.9591 GB, free: 0.9023 MB / 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","/var/lib/jenkins/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