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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008863/0.008864, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.344/2.344, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 15.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7173/0.7177, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0008032/0.7185, allocations: 438.6 kB / 0.9556 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.72, allocations: 1.263 MB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.7201, allocations: 1.469 kB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.573e-05/0.7202, allocations: 9.344 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.7202, allocations: 14.45 kB / 0.9569 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.7209, allocations: 220.8 kB / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.7211, allocations: 215.9 kB / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.7212, allocations: 37.75 kB / 0.9573 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.7213, allocations: 81.12 kB / 0.9574 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.7215, allocations: 91.94 kB / 0.9575 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.7215, allocations: 8.969 kB / 0.9575 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.7216, allocations: 28.33 kB / 0.9575 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.7216, allocations: 28.52 kB / 0.9575 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.7217, allocations: 105.6 kB / 0.9576 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.7219, allocations: 196.5 kB / 0.9578 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.7219, allocations: 0 / 0.9578 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7219, allocations: 0.875 kB / 0.9578 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.7219, allocations: 0 / 0.9578 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.0003498/0.7223, allocations: 464 kB / 0.9583 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.7223, allocations: 10.06 kB / 0.9583 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.7224, allocations: 37.31 kB / 0.9583 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.7224, allocations: 23.67 kB / 0.9583 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.7229, allocations: 265.8 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.723, allocations: 18.23 kB / 0.9586 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.723, allocations: 14.12 kB / 0.9586 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.7232, allocations: 134.4 kB / 0.9587 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7232, allocations: 0 / 0.9587 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.7232, allocations: 5.25 kB / 0.9588 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.7232, allocations: 11.02 kB / 0.9588 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.7233, allocations: 49.03 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.7238, allocations: 0.6621 MB / 0.9595 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.7238, allocations: 42.73 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.7239, allocations: 25.91 kB / 0.9595 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-06/0.7239, allocations: 3.938 kB / 0.9595 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.724, allocations: 90.12 kB / 0.9596 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.724, allocations: 0 / 0.9596 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001975/0.7242, allocations: 104.2 kB / 0.9597 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.7242, allocations: 82.61 kB / 0.9598 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.7243, allocations: 173 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.7244, allocations: 33.83 kB / 0.96 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.7244, allocations: 117.5 kB / 0.9601 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.7245, allocations: 10.56 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.7245, allocations: 32.7 kB / 0.9601 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.7245, allocations: 321.6 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.7247, allocations: 56.78 kB / 0.9605 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.7248, allocations: 110.9 kB / 0.9606 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.7249, allocations: 179.4 kB / 0.9608 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7249, allocations: 0 / 0.9608 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003258/0.7253, allocations: 259.9 kB / 0.961 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.7253, allocations: 69.2 kB / 0.9611 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7253, allocations: 2.75 kB / 0.9611 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7253, allocations: 2.75 kB / 0.9611 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.7e-05/0.7253, allocations: 6.938 kB / 0.9611 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7254, allocations: 10.73 kB / 0.9611 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.7257, allocations: 73.3 kB / 0.9612 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.7257, allocations: 17.61 kB / 0.9612 GB, free: 2.535 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 8.51e-05/0.7258, allocations: 134.3 kB / 0.9613 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.7258, allocations: 17.28 kB / 0.9613 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.7259, allocations: 10.98 kB / 0.9614 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7259, allocations: 5.688 kB / 0.9614 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.7259, allocations: 1.375 kB / 0.9614 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7259, allocations: 4 kB / 0.9614 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.726, allocations: 207.7 kB / 0.9616 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.726, allocations: 5.359 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.726, allocations: 1.375 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.726, allocations: 1.375 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.726, allocations: 1.375 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.726, allocations: 0 / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7261, allocations: 1.375 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.7262, allocations: 119.3 kB / 0.9617 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.7262, allocations: 91.25 kB / 0.9618 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.7262, allocations: 6.312 kB / 0.9618 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/0.7262, allocations: 1.188 kB / 0.9618 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.7263, allocations: 2.312 kB / 0.9618 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.7263, allocations: 6.641 kB / 0.9618 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.88e-05/0.7263, allocations: 119.5 kB / 0.9619 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7263, allocations: 0 / 0.9619 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002379/0.7266, allocations: 41.25 kB / 0.9619 GB, free: 1.824 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.000288/0.7269, allocations: 0.6557 MB / 0.9626 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.7272, allocations: 236.8 kB / 0.9628 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7272, allocations: 0.5 kB / 0.9628 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.7272, allocations: 25.67 kB / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.7274, allocations: 19.81 kB / 0.9629 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.7293, allocations: 1.944 MB / 0.9648 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.7296, allocations: 0.713 MB / 0.9655 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.7297, allocations: 11.5 kB / 0.9655 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.7297, allocations: 37.8 kB / 0.9655 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.7297, allocations: 0 / 0.9655 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09788/0.8276, allocations: 3.16 MB / 0.9686 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.8278, allocations: 217.2 kB / 0.9688 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.617, allocations: 1.969 kB / 0.9688 GB, free: 12.79 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > 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