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: "" <> 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.001238/0.001237, allocations: 108 kB / 15.6 MB, free: 132 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.001274/0.001274, allocations: 194 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.356/2.356, allocations: 390.3 MB / 0.6647 GB, free: 308 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.655, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002366/0.6575, allocations: 0.6994 MB / 0.9504 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.6589, allocations: 1.247 MB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.6589, allocations: 1.188 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.659, allocations: 12.98 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.6591, allocations: 10.41 kB / 0.9517 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.6597, allocations: 234.5 kB / 0.9519 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.66, allocations: 252.9 kB / 0.9521 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.6601, allocations: 40.25 kB / 0.9522 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.6603, allocations: 101.8 kB / 0.9523 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.6605, allocations: 100 kB / 0.9524 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.6606, allocations: 22.28 kB / 0.9524 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.6607, allocations: 34.02 kB / 0.9524 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.6608, allocations: 33.86 kB / 0.9524 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.6609, allocations: 83.5 kB / 0.9525 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.6611, allocations: 218.9 kB / 0.9527 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6611, allocations: 0 / 0.9527 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6611, allocations: 1.406 kB / 0.9527 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6611, allocations: 0 / 0.9527 GB, free: 7.008 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.0005336/0.6617, allocations: 498.8 kB / 0.9532 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6617, allocations: 13.91 kB / 0.9532 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.6618, allocations: 42.45 kB / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.6618, allocations: 16.62 kB / 0.9533 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.6624, allocations: 256.9 kB / 0.9535 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.6624, allocations: 19.16 kB / 0.9535 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.6625, allocations: 17.09 kB / 0.9536 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.6627, allocations: 131 kB / 0.9537 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6627, allocations: 9 kB / 0.9537 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.6627, allocations: 1.219 kB / 0.9537 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.6627, allocations: 2.625 kB / 0.9537 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.6628, allocations: 49.5 kB / 0.9537 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.6633, allocations: 0.669 MB / 0.9544 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.6633, allocations: 46.81 kB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.6634, allocations: 18.39 kB / 0.9545 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.6634, allocations: 11.92 kB / 0.9545 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.6636, allocations: 84.62 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.6636, allocations: 1.438 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002331/0.6638, allocations: 95.39 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.6639, allocations: 91.81 kB / 0.9547 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.664, allocations: 164.6 kB / 0.9549 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.664, allocations: 33.83 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.6641, allocations: 122.9 kB / 0.955 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.6641, allocations: 18.28 kB / 0.955 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.6642, allocations: 55.53 kB / 0.9551 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.6643, allocations: 321.7 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.6644, allocations: 54.12 kB / 0.9555 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.6645, allocations: 108.9 kB / 0.9556 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.6647, allocations: 172.7 kB / 0.9557 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6647, allocations: 0 / 0.9557 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003564/0.665, allocations: 271.5 kB / 0.956 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.6651, allocations: 66.3 kB / 0.9561 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6651, allocations: 2.438 kB / 0.9561 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6651, allocations: 6.375 kB / 0.9561 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.962e-05/0.6651, allocations: 11.41 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6652, allocations: 2.219 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.6655, allocations: 51.72 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.6655, allocations: 13.92 kB / 0.9561 GB, free: 3.816 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.786e-05/0.6656, allocations: 142.5 kB / 0.9563 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.6656, allocations: 16.28 kB / 0.9563 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.6656, allocations: 16.64 kB / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6656, allocations: 1.062 kB / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6657, allocations: 0 / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6657, allocations: 1.094 kB / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.6658, allocations: 211.3 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6658, allocations: 1.25 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.6658, allocations: 1.125 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6658, allocations: 1.188 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.6658, allocations: 5.031 kB / 0.9565 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6658, allocations: 1.344 kB / 0.9565 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6658, allocations: 384 / 0.9565 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.6659, allocations: 119.3 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.666, allocations: 88.22 kB / 0.9567 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.666, allocations: 9.984 kB / 0.9567 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.666, allocations: 1.125 kB / 0.9567 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.6661, allocations: 6.5 kB / 0.9567 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.6661, allocations: 2.469 kB / 0.9567 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.6661, allocations: 124.1 kB / 0.9569 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6661, allocations: 0 / 0.9569 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000242/0.6664, allocations: 37.75 kB / 0.9569 GB, free: 3.098 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.0002923/0.6667, allocations: 0.6676 MB / 0.9575 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.667, allocations: 232.2 kB / 0.9578 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.667, allocations: 0 / 0.9578 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.667, allocations: 25.42 kB / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.6672, allocations: 18.27 kB / 0.9578 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.6689, allocations: 1.91 MB / 0.9597 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.6691, allocations: 0.7169 MB / 0.9604 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.6691, allocations: 15.47 kB / 0.9604 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.6692, allocations: 37.73 kB / 0.9604 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.6692, allocations: 0 / 0.9604 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.6875, allocations: 3.408 MB / 0.9637 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.284, allocations: 8 kB / 0.9638 GB, free: 14.09 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