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.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.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.001005/0.001005, allocations: 103.4 kB / 15.33 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.001071/0.001071, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.461 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.426/2.426, allocations: 437 MB / 0.7101 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 63.89 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6559/0.657, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001623/0.6587, allocations: 0.8175 MB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.6598, allocations: 1.144 MB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.6599, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.6599, allocations: 7.984 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.66, allocations: 7.922 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.6603, allocations: 115.7 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.6604, allocations: 123.8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.6605, allocations: 23.88 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.6605, allocations: 47.89 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.6606, allocations: 43.83 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.6606, allocations: 8 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.6607, allocations: 27.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.6607, allocations: 8 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.6607, allocations: 43.83 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.6608, allocations: 119.7 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.6609, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.52e-07/0.6609, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.6609, allocations: 0 / 1.019 GB, free: 264 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.0003998/0.6613, allocations: 407.3 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.161e-05/0.6613, allocations: 8.031 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.6613, allocations: 34.75 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.6614, allocations: 8.844 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.6615, allocations: 180.2 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.6615, allocations: 8.375 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.6615, allocations: 4.375 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.6616, allocations: 70.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-06/0.6617, allocations: 7.875 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.6617, allocations: 3.984 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-06/0.6617, allocations: 3.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.6618, allocations: 43.95 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.6622, allocations: 328.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.6623, allocations: 58.55 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.6624, allocations: 40.95 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.6624, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.6626, allocations: 87.27 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.6626, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003642/0.663, allocations: 145.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.663, allocations: 59.34 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.6631, allocations: 122.1 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.6631, allocations: 33.69 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.6632, allocations: 88.14 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.6632, allocations: 19.75 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.6633, allocations: 41.69 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.6634, allocations: 318.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.6635, allocations: 55.95 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.6637, allocations: 84.25 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.6639, allocations: 141.9 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.664, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003926/0.6643, allocations: 215.1 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.6644, allocations: 29.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.6644, allocations: 4.125 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.6644, allocations: 7.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.6645, allocations: 12.06 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.6645, allocations: 7.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.6647, allocations: 39.86 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6647, allocations: 7.984 kB / 1.022 GB, free: 13.3 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 8.501e-05/0.6648, allocations: 128.2 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.6649, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.6649, allocations: 8.375 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6649, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.6649, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6649, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.6653, allocations: 382.3 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6653, allocations: 4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.6654, allocations: 11.98 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6654, allocations: 3.938 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.6654, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6654, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6654, allocations: 3.938 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.6657, allocations: 211.4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.6657, allocations: 88.95 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.6657, allocations: 3.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.6658, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.6659, allocations: 11.92 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6659, allocations: 8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.6659, allocations: 95.42 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6659, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002367/0.6662, allocations: 24 kB / 1.023 GB, free: 12.22 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.0005314/0.6667, allocations: 0.7475 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.6671, allocations: 183.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6671, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.6672, allocations: 35.98 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6674, allocations: 20.39 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.6692, allocations: 1.692 MB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.6694, allocations: 0.6846 MB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.6694, allocations: 11.84 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.6695, allocations: 19.44 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6695, allocations: 0 / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.324/1.993, allocations: 2.4 MB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.993, allocations: 205 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/3.669, allocations: 3.938 kB / 1.029 GB, free: 6.121 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