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.01067/0.01067, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.002352/0.002352, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.143/3.143, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.11/5.11, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 71.83 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709/1.712, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.008229/1.72, allocations: 0.7588 MB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00304/1.723, allocations: 1.146 MB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/1.724, allocations: 0 / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/1.724, allocations: 11.86 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/1.724, allocations: 15.88 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/1.725, allocations: 130.6 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003664/1.725, allocations: 123.8 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/1.725, allocations: 12 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/1.726, allocations: 51.89 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/1.726, allocations: 47.81 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/1.726, allocations: 12 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/1.726, allocations: 23.98 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/1.726, allocations: 11.98 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/1.726, allocations: 39.84 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/1.727, allocations: 115.3 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.727, allocations: 4 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.306e-06/1.727, allocations: 0 / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.727, allocations: 0 / 1.169 GB, free: 1.281 MB / 0.8887 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.001054/1.728, allocations: 412.9 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.728, allocations: 12.92 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/1.728, allocations: 30.75 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/1.728, allocations: 16.89 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/1.728, allocations: 168.3 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/1.728, allocations: 8.312 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/1.728, allocations: 12.38 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/1.729, allocations: 66.2 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/1.729, allocations: 3.938 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/1.729, allocations: 7.938 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.729, allocations: 0 / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/1.729, allocations: 47.89 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/1.73, allocations: 336.6 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/1.73, allocations: 58.59 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/1.731, allocations: 36.91 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/1.731, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/1.731, allocations: 91.36 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/1.731, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0008225/1.732, allocations: 141.6 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/1.732, allocations: 55.41 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/1.732, allocations: 121.8 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/1.732, allocations: 37.7 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/1.732, allocations: 88.14 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/1.732, allocations: 19.84 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/1.733, allocations: 37.7 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.733, allocations: 326.8 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/1.733, allocations: 47.97 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/1.733, allocations: 88.25 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.734, allocations: 133.9 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.734, allocations: 4 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007901/1.735, allocations: 211.1 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/1.735, allocations: 37.69 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.735, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/1.735, allocations: 4 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/1.735, allocations: 11.98 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/1.735, allocations: 4.125 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/1.735, allocations: 35.91 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/1.736, allocations: 19.86 kB / 1.171 GB, free: 14.31 MB / 0.9044 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 0.0001857/1.736, allocations: 121.8 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/1.736, allocations: 7.938 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/1.736, allocations: 12.38 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.736, allocations: 4 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.736, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.736, allocations: 3.984 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/1.737, allocations: 374.4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.737, allocations: 4.062 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/1.737, allocations: 11.98 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.737, allocations: 3.938 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/1.737, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.737, allocations: 8 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.737, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/1.737, allocations: 215.7 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/1.738, allocations: 81.06 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/1.738, allocations: 7.984 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/1.738, allocations: 4 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/1.738, allocations: 15.92 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/1.738, allocations: 4 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000106/1.738, allocations: 91.27 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.4e-07/1.738, allocations: 0 / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005294/1.739, allocations: 20 kB / 1.172 GB, free: 13.24 MB / 0.9044 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.00126/1.74, allocations: 0.7521 MB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006922/1.741, allocations: 179.2 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.741, allocations: 3.938 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/1.741, allocations: 35.98 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/1.741, allocations: 24.17 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/1.745, allocations: 1.679 MB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/1.746, allocations: 0.6885 MB / 1.175 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.365e-05/1.746, allocations: 7.984 kB / 1.175 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/1.746, allocations: 23.44 kB / 1.175 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of SimCode: time 1.433e-06/1.746, allocations: 0 / 1.175 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07906/1.825, allocations: 2.57 MB / 1.178 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.59, allocations: 3.953 kB / 1.178 GB, free: 7.215 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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