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.007509/0.007509, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001808/0.001808, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.346/2.346, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8556, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002074/0.8577, allocations: 0.7384 MB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.8591, allocations: 1.152 MB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.8592, allocations: 4 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.8592, allocations: 5.109 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.8593, allocations: 11.31 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.8598, allocations: 130.8 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.8601, allocations: 130.7 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.8602, allocations: 12.84 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.8603, allocations: 51.64 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.8604, allocations: 46.47 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.8604, allocations: 10.5 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.389e-05/0.8605, allocations: 24.41 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.8606, allocations: 13.34 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.8606, allocations: 50.38 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.8609, allocations: 103.3 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8609, allocations: 5.344 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8609, allocations: 0 / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8609, allocations: 0.5156 kB / 1.09 GB, free: 3.672 MB / 0.8575 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.0005922/0.8615, allocations: 418.9 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8616, allocations: 9.812 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.8616, allocations: 33.53 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.8617, allocations: 10.34 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.8618, allocations: 181.3 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.8618, allocations: 4.031 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.8618, allocations: 8.094 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.862, allocations: 66.59 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8621, allocations: 4.5 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.8621, allocations: 5.062 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.8621, allocations: 0.7969 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.8623, allocations: 51.11 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.8628, allocations: 333 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.863, allocations: 58.28 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.8632, allocations: 39.56 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.8632, allocations: 1.156 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.8634, allocations: 83.77 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.8635, allocations: 0 / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004699/0.8639, allocations: 141 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.864, allocations: 61.45 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.8641, allocations: 121 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.8641, allocations: 28.48 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.8641, allocations: 89.61 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.8642, allocations: 20.36 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.8643, allocations: 38.56 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.8643, allocations: 323 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.8645, allocations: 53.88 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.8647, allocations: 87.92 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.865, allocations: 141.9 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.865, allocations: 0 / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004964/0.8655, allocations: 209.5 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.8656, allocations: 34.72 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8656, allocations: 1.5 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.8656, allocations: 6.188 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.8657, allocations: 11 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.8657, allocations: 2.281 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.866, allocations: 39.33 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.866, allocations: 7.109 kB / 1.093 GB, free: 1.477 MB / 0.8575 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.441e-05/0.8661, allocations: 129.5 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.8661, allocations: 9.906 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.8661, allocations: 7.172 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8661, allocations: 1.547 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8662, allocations: 0.9688 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8662, allocations: 0.75 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.8666, allocations: 381.6 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8666, allocations: 0.8125 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.8667, allocations: 12.09 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8667, allocations: 1.562 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.8667, allocations: 1.344 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8667, allocations: 4.656 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.8667, allocations: 0.7812 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.867, allocations: 221.1 kB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.8671, allocations: 87.62 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.8671, allocations: 2.234 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.8672, allocations: 6.469 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.8672, allocations: 13.59 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8672, allocations: 7.469 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.8673, allocations: 94.64 kB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8673, allocations: 0 / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002815/0.8676, allocations: 20.92 kB / 1.093 GB, free: 0.6289 MB / 0.8575 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.0006947/0.8683, allocations: 0.7458 MB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.8688, allocations: 179.5 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8688, allocations: 4.25 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.8689, allocations: 41.5 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.8692, allocations: 18.11 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.8715, allocations: 1.687 MB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.872, allocations: 0.6915 MB / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.8721, allocations: 5.703 kB / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.8721, allocations: 21.34 kB / 1.097 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8721, allocations: 0 / 1.097 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.8939, allocations: 2.587 MB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.717, allocations: 6.156 kB / 1.099 GB, free: 13.21 MB / 0.8731 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