Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_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.001074/0.001074, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007073/0.007073, allocations: 169 kB / 16.26 MB, free: 6.68 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 16.5 kB / 0.9029 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001104/0.3543, allocations: 482.8 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3561, allocations: 1.155 MB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.3562, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.3563, allocations: 7.875 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.3564, allocations: 15.91 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.357, allocations: 122.8 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3572, allocations: 103.8 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3573, allocations: 15.97 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3574, allocations: 39.91 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3575, allocations: 39.83 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.3576, allocations: 4 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.3577, allocations: 19.98 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.3577, allocations: 7.984 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.3578, allocations: 65.55 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.358, allocations: 107.7 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.358, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.156e-06/0.358, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.358, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 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.0006813/0.3587, allocations: 401.3 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3588, allocations: 15.91 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.3588, allocations: 34.75 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.3589, allocations: 12.84 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.359, allocations: 176.2 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3591, allocations: 4.375 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.3591, allocations: 8.359 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.3593, allocations: 74.2 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3593, allocations: 3.938 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3593, allocations: 0 / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3594, allocations: 4 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.3596, allocations: 59.89 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.3601, allocations: 336.7 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3603, allocations: 58.61 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3604, allocations: 40.91 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3604, allocations: 7.984 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.3607, allocations: 91.31 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.3607, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004591/0.3611, allocations: 161.6 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3612, allocations: 55.34 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.3613, allocations: 117.8 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3613, allocations: 33.7 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.3614, allocations: 100 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.3614, allocations: 11.81 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.3615, allocations: 25.7 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3616, allocations: 318.8 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.3618, allocations: 55.95 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.362, allocations: 96.25 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.3623, allocations: 150 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3623, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004657/0.3627, allocations: 227.1 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.3628, allocations: 33.7 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3628, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3628, allocations: 64 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.3629, allocations: 19.98 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.363, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.3632, allocations: 55.95 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3632, allocations: 11.98 kB / 1.064 GB, free: 15.63 MB / 0.8262 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.0001051/0.3634, allocations: 125.7 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3634, allocations: 15.91 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.3634, allocations: 4.375 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3634, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3634, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3634, allocations: 3.938 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.364, allocations: 394.4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.364, allocations: 3.938 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.364, allocations: 15.97 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3641, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3641, allocations: 4 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3641, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3641, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3644, allocations: 223.7 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.3644, allocations: 81.02 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.3645, allocations: 7.984 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.3646, allocations: 11.94 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.3646, allocations: 11.92 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3646, allocations: 8 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.3647, allocations: 91.27 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3647, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002688/0.365, allocations: 20 kB / 1.065 GB, free: 14.53 MB / 0.8262 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.0006813/0.3657, allocations: 0.7593 MB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.3661, allocations: 183.3 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3661, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3663, allocations: 51.91 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3666, allocations: 21.55 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.3687, allocations: 1.717 MB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.369, allocations: 0.6901 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.3691, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.3691, allocations: 23.42 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/0.3691, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.382, allocations: 2.243 MB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.3823, allocations: 211.9 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.149, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches