Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.002968/0.002968, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002215/0.002215, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.286/1.286, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.532/2.532, allocations: 469.8 MB / 0.7421 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 66.06 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2424, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001592/0.244, allocations: 0.7915 MB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2453, allocations: 1.268 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.2453, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.2454, allocations: 7.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.2454, allocations: 15.84 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.246, allocations: 234 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.2462, allocations: 267.5 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.988e-05/0.2463, allocations: 20.22 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2464, allocations: 99.8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2465, allocations: 83.77 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2466, allocations: 20 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.709e-05/0.2466, allocations: 39.97 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.2467, allocations: 35.91 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.2468, allocations: 91.73 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.247, allocations: 223.6 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.247, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.11e-07/0.247, allocations: 4 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.247, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005793/0.2476, allocations: 494.6 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2476, allocations: 12.03 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.2477, allocations: 38.73 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.2477, allocations: 16.84 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.2482, allocations: 268.2 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2483, allocations: 8.375 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.2483, allocations: 24.36 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.2485, allocations: 128.5 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2485, allocations: 7.984 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2486, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-06/0.2486, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2487, allocations: 67.89 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.2494, allocations: 0.5046 MB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.2496, allocations: 165.2 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.2497, allocations: 61.69 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.2497, allocations: 0 / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.25, allocations: 210.8 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.25, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0004739/0.2505, allocations: 318.6 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2506, allocations: 88.98 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.2507, allocations: 138.9 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.2507, allocations: 37.7 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.2508, allocations: 104.6 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.2508, allocations: 47.44 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.2509, allocations: 69.69 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2511, allocations: 326.8 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2512, allocations: 88.22 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.2514, allocations: 156.2 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.2517, allocations: 248.5 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2517, allocations: 0 / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005186/0.2522, allocations: 361.3 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.2523, allocations: 67.41 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2523, allocations: 0 / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2523, allocations: 4 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.2524, allocations: 28.08 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2524, allocations: 4.078 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.2527, allocations: 67.77 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.2528, allocations: 19.98 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001184/0.2529, allocations: 148 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.2529, allocations: 19.8 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.253, allocations: 20.48 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.253, allocations: 3.938 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.253, allocations: 4 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.253, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.2536, allocations: 0.6133 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2536, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.2536, allocations: 11.98 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2536, allocations: 7.938 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2537, allocations: 3.984 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2537, allocations: 4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2537, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.254, allocations: 419.1 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.2541, allocations: 96.86 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.2541, allocations: 11.94 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2543, allocations: 7.984 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.2543, allocations: 27.95 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.2544, allocations: 15.94 kB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.2544, allocations: 95.27 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2544, allocations: 0 / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003102/0.2547, allocations: 55.98 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006842/0.2554, allocations: 0.9667 MB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.2559, allocations: 358.5 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.2559, allocations: 448 / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.2561, allocations: 115.9 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.2564, allocations: 28.25 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.2587, allocations: 2.294 MB / 1.076 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.259, allocations: 0.7086 MB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.913e-05/0.259, allocations: 13.55 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.2591, allocations: 39.42 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2591, allocations: 4 kB / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.027/3.286, allocations: 3.914 MB / 1.08 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000436/3.286, allocations: 196.7 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/6.445, allocations: 6.5 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches