Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_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.001706/0.001706, allocations: 108 kB / 15.61 MB, free: 152 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.002273/0.002273, allocations: 195 kB / 16.53 MB, free: 6.664 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.429/1.429, 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.455/2.455, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6955, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001956/0.6975, allocations: 0.741 MB / 0.9505 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.6989, allocations: 1.152 MB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.6989, allocations: 1.281 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.699, allocations: 3.938 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.699, allocations: 9.281 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.6995, allocations: 126.1 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.6997, allocations: 130.1 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.6998, allocations: 10.28 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.331e-05/0.6999, allocations: 44.91 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.7, allocations: 37.61 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.7, allocations: 15.22 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.7001, allocations: 28.03 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.7002, allocations: 14.55 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.7002, allocations: 47.91 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.7004, allocations: 109.1 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7004, allocations: 0 / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7004, allocations: 0 / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7004, allocations: 1.094 kB / 0.9521 GB, free: 7.266 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000516/0.7009, allocations: 407.3 kB / 0.9525 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.701, allocations: 14.06 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.665e-05/0.701, allocations: 39.98 kB / 0.9526 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.7011, allocations: 10 kB / 0.9526 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/0.7012, allocations: 176.1 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.7012, allocations: 3.469 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.7012, allocations: 10.94 kB / 0.9528 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.7014, allocations: 60.95 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7014, allocations: 3.938 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.7014, allocations: 5.375 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7014, allocations: 9.312 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.7016, allocations: 38.73 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.702, allocations: 332.3 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.7022, allocations: 66.61 kB / 0.9533 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.7023, allocations: 28.75 kB / 0.9533 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.7023, allocations: 0 / 0.9533 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.7025, allocations: 92.42 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.7026, allocations: 3.938 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004206/0.703, allocations: 148.5 kB / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.703, allocations: 56.77 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.7031, allocations: 116.1 kB / 0.9537 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7031, allocations: 27.14 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.7032, allocations: 95.95 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.7032, allocations: 23.59 kB / 0.9538 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.7033, allocations: 44.64 kB / 0.9539 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.7033, allocations: 325.4 kB / 0.9542 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.7035, allocations: 47.09 kB / 0.9542 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.7036, allocations: 89.19 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.7039, allocations: 145.2 kB / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7039, allocations: 0 / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000397/0.7043, allocations: 204.9 kB / 0.9546 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.7044, allocations: 41.31 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7044, allocations: 1.094 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.7044, allocations: 2.25 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.7045, allocations: 11.89 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7045, allocations: 5.219 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.7047, allocations: 32.77 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.7047, allocations: 14.88 kB / 0.9548 GB, free: 4.84 MB / 0.7169 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.599e-05/0.7048, allocations: 120.8 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.7048, allocations: 10.83 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.7049, allocations: 9.562 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7049, allocations: 1.344 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7049, allocations: 64 / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7049, allocations: 5.469 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.7053, allocations: 379 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7053, allocations: 0 / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.7053, allocations: 6.781 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7054, allocations: 3.984 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.7054, allocations: 1.125 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7054, allocations: 0 / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7054, allocations: 1.125 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.7056, allocations: 216.2 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.7057, allocations: 87.83 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.7057, allocations: 0 / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.7058, allocations: 12.17 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.7058, allocations: 6.969 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.7059, allocations: 10.8 kB / 0.9556 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.656e-05/0.7059, allocations: 96.23 kB / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7059, allocations: 0 / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002559/0.7062, allocations: 32.36 kB / 0.9557 GB, free: 3.93 MB / 0.7169 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.0004967/0.7067, allocations: 0.7462 MB / 0.9564 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.707, allocations: 177 kB / 0.9566 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.707, allocations: 1.062 kB / 0.9566 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.7072, allocations: 38.66 kB / 0.9566 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.7074, allocations: 17.38 kB / 0.9567 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.7091, allocations: 1.695 MB / 0.9583 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.7092, allocations: 0.6882 MB / 0.959 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.7093, allocations: 7.719 kB / 0.959 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.7093, allocations: 28.39 kB / 0.959 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7093, allocations: 0 / 0.959 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.7277, allocations: 2.51 MB / 0.9615 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.268, allocations: 14.28 kB / 0.9615 GB, free: 15.48 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches