Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_10_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.001352/0.001352, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001334/0.001334, allocations: 188.8 kB / 16.25 MB, free: 6.586 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6581, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00213/0.6603, allocations: 0.7803 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.662, allocations: 1.233 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.6621, allocations: 4 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.6622, allocations: 11.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.6623, allocations: 7.922 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.663, allocations: 222.9 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.6633, allocations: 251.6 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.6635, allocations: 39.97 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.6637, allocations: 115.7 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.664, allocations: 95.84 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.664, allocations: 20 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.6642, allocations: 35.89 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.6642, allocations: 27.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.6644, allocations: 83.64 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.6647, allocations: 221.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6647, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.797e-06/0.6647, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.6647, allocations: 7.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 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.0007147/0.6655, allocations: 498.2 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.6655, allocations: 12.03 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.6656, allocations: 46.73 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.6657, allocations: 16.75 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.6663, allocations: 261.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.6664, allocations: 8.375 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.6664, allocations: 20.36 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.6666, allocations: 137.3 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6667, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6667, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.6667, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.6668, allocations: 47.91 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.6676, allocations: 0.6727 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.6677, allocations: 49.16 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.6677, allocations: 17.78 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.6677, allocations: 3.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.6679, allocations: 93.02 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.668, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002675/0.6682, allocations: 97.52 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.6683, allocations: 77.11 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.6685, allocations: 175.6 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.6685, allocations: 29.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.6686, allocations: 123.8 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.6687, allocations: 11.91 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.6688, allocations: 57.58 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6689, allocations: 330.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.669, allocations: 51.97 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.6692, allocations: 102.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.6694, allocations: 170.2 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6694, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004265/0.6698, allocations: 277.2 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.6699, allocations: 64.8 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6699, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6699, allocations: 3.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.6699, allocations: 7.984 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.67, allocations: 7.938 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.6703, allocations: 59.88 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.6703, allocations: 15.98 kB / 1.023 GB, free: 11.66 MB / 0.7794 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.0001388/0.6705, allocations: 139 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.6705, allocations: 11.84 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.6705, allocations: 16.23 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.6705, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6705, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6705, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.6707, allocations: 209.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6707, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.6708, allocations: 3.938 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6708, allocations: 4.094 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6708, allocations: 3.938 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6708, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6708, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.6709, allocations: 117.9 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.671, allocations: 93.02 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.671, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.6711, allocations: 3.984 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.6711, allocations: 8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.6711, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.737e-05/0.6712, allocations: 118.5 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6712, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002603/0.6715, allocations: 43.83 kB / 1.024 GB, free: 10.8 MB / 0.7794 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.0004984/0.672, allocations: 0.6581 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.6723, allocations: 238.6 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6724, allocations: 0 / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.6724, allocations: 24.48 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.6727, allocations: 25.7 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.6748, allocations: 1.932 MB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.6752, allocations: 0.708 MB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.6752, allocations: 12.89 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.6753, allocations: 39.42 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6753, allocations: 4 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.6901, allocations: 3.325 MB / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.6904, allocations: 220.3 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.511, allocations: 0 / 1.031 GB, free: 3.547 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches