Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.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.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",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.001177/0.001177, 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.001239/0.001239, allocations: 193.1 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 0.8689 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5628/0.5642, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.001648/0.5659, allocations: 0.6487 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.018e-05/0.566, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.253e-05/0.566, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.566, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.977e-05/0.566, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.582e-05/0.5661, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.033e-05/0.5661, allocations: 4 kB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.5662, allocations: 3.938 kB / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.091e-05/0.5662, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.277e-05/0.5662, allocations: 4 kB / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.234e-06/0.5662, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-06/0.5662, allocations: 4 kB / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.5662, allocations: 4 kB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.5662, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.041e-05/0.5663, allocations: 3.984 kB / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5663, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5663, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.5663, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002318/0.5665, allocations: 307.6 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5666, allocations: 15.97 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.5666, allocations: 34.69 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.585e-05/0.5666, allocations: 4.938 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.5667, allocations: 164.4 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.5667, allocations: 384 / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-06/0.5667, allocations: 384 / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.41e-05/0.5668, allocations: 30.27 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5668, allocations: 3.938 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.5668, allocations: 0 / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5668, allocations: 4 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.329e-05/0.5669, allocations: 7.938 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.567, allocations: 153.7 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.15e-05/0.567, allocations: 18.61 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.567, allocations: 8.859 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.5671, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5671, allocations: 34.62 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.5671, allocations: 4 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 9.28e-05/0.5672, allocations: 45.47 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.5672, allocations: 51.41 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.037e-05/0.5673, allocations: 89.86 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.5673, allocations: 25.7 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.5673, allocations: 80.14 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.5673, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.5674, allocations: 17.7 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.5675, allocations: 315 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.5675, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.5675, allocations: 4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/0.5675, allocations: 4.859 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5675, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.626e-05/0.5676, allocations: 37.7 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.5676, allocations: 4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5676, allocations: 3.938 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.5676, allocations: 4.094 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.5677, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5677, allocations: 7.984 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-06/0.5677, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5677, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.836e-05/0.5677, allocations: 110.3 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.5678, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.5678, allocations: 7.062 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5678, allocations: 4 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5678, allocations: 4 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.5678, allocations: 3.938 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.051e-05/0.5679, allocations: 149.7 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5679, allocations: 0 / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.5679, allocations: 0 / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.5679, allocations: 4 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5679, allocations: 3.938 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5679, allocations: 3.938 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5679, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.49e-05/0.568, allocations: 53.14 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.568, allocations: 87.34 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.5681, allocations: 3.938 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-06/0.5681, allocations: 4 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-06/0.5681, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.5681, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.5681, allocations: 75.28 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5681, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001662/0.5683, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003082/0.5686, allocations: 0.6007 MB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.193e-05/0.5687, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5687, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-06/0.5687, allocations: 4.094 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.5688, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.5691, allocations: 125.3 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.5693, allocations: 0.669 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.638e-06/0.5693, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.5693, allocations: 7.438 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5694, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008507/0.5779, allocations: 0.8114 MB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.5781, allocations: 225 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.114, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,staTim.y Variables in the result:staTim.y,time