Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001251/0.001251, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.316/2.316, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5717, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001673/0.5734, allocations: 0.8214 MB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.5745, allocations: 1.155 MB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.5745, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.5746, allocations: 3.984 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.5746, allocations: 3.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.5749, allocations: 120.9 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.575, allocations: 111.7 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.5751, allocations: 27.86 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.5752, allocations: 47.84 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.5752, allocations: 43.81 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.5753, allocations: 8 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.829e-05/0.5753, allocations: 15.98 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.5754, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.5754, allocations: 47.84 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.5756, allocations: 107.7 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5756, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5756, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.5756, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004633/0.576, allocations: 413.2 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5761, allocations: 8.031 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.5761, allocations: 34.75 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.5762, allocations: 8.844 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.5763, allocations: 176.2 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5763, allocations: 4.375 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.5763, allocations: 8.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.5765, allocations: 70.16 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.5765, allocations: 7.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.5765, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5765, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.5767, allocations: 35.97 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.577, allocations: 332.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.5772, allocations: 66.55 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.5773, allocations: 32.95 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.5773, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.5775, allocations: 95.27 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.5775, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003504/0.5778, allocations: 137.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.5779, allocations: 59.28 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.5779, allocations: 121.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.578, allocations: 33.69 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.578, allocations: 92.14 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.578, allocations: 19.81 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.5781, allocations: 41.69 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.5782, allocations: 322.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.5783, allocations: 55.95 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.5785, allocations: 84.25 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.5787, allocations: 137.9 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5788, allocations: 7.938 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003924/0.5791, allocations: 207.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.5792, allocations: 37.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5792, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.5792, allocations: 3.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.5793, allocations: 11.94 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5793, allocations: 7.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.5795, allocations: 39.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.5795, allocations: 11.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.458e-05/0.5796, allocations: 122.3 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5796, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.5797, allocations: 8.375 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5797, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5797, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.5797, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.5801, allocations: 378.3 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5801, allocations: 3.984 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.5802, allocations: 11.98 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5802, allocations: 3.938 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.5802, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5802, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.5802, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.5804, allocations: 211.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.5805, allocations: 84.95 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5805, allocations: 7.984 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.5806, allocations: 8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.5806, allocations: 11.92 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.5806, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.891e-05/0.5807, allocations: 91.27 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5807, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000237/0.5809, allocations: 31.94 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000504/0.5814, allocations: 0.7495 MB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.5818, allocations: 175.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5818, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.5819, allocations: 35.98 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.5821, allocations: 21.05 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.5839, allocations: 1.69 MB / 1.025 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.5841, allocations: 0.6848 MB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.5841, allocations: 15.84 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.5841, allocations: 15.44 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5842, allocations: 0 / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01045/0.5946, allocations: 2.312 MB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.5949, allocations: 203.8 kB / 1.028 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.13, allocations: 0 / 1.028 GB, free: 6.188 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches