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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001787, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001778/0.001779, allocations: 195.1 kB / 16.14 MB, free: 6.691 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.624/2.624, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.88 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7129, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.001726/0.7146, allocations: 0.6468 MB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.238e-05/0.7147, allocations: 4 kB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.7147, allocations: 3.938 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.7147, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.7148, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.717e-05/0.7148, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.7149, allocations: 7.938 kB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.7149, allocations: 4 kB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.7149, allocations: 3.984 kB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.363e-05/0.7149, allocations: 0 / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.715, allocations: 4 kB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-06/0.715, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.715, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.715, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.106e-05/0.715, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7151, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7151, allocations: 4 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.7151, allocations: 0 / 1.017 GB, free: 2.098 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.0002425/0.7153, allocations: 307.5 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7154, allocations: 12.09 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.7154, allocations: 8.844 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.827e-05/0.7155, allocations: 164.4 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.7155, allocations: 4.312 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.7155, allocations: 384 / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.7156, allocations: 34.25 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.7156, allocations: 192 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.7156, allocations: 3.938 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.7156, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.7156, allocations: 3.938 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.7158, allocations: 145.7 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.337e-05/0.7158, allocations: 22.61 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.7158, allocations: 8.922 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.7158, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.7159, allocations: 30.56 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.7159, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.716, allocations: 45.56 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.716, allocations: 51.41 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.3e-05/0.7161, allocations: 89.86 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.7161, allocations: 29.7 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.7161, allocations: 84.14 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.7162, allocations: 0 / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.7162, allocations: 9.719 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7163, allocations: 310.8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.7163, allocations: 8.125 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-06/0.7163, allocations: 3.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.7163, allocations: 8.859 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7164, allocations: 7.984 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.764e-05/0.7164, allocations: 33.64 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.7164, allocations: 4 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7164, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7164, allocations: 3.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.7165, allocations: 4 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7165, allocations: 4.094 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.7165, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.7165, allocations: 4 kB / 1.019 GB, free: 464 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 6.388e-05/0.7166, allocations: 105.8 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.7166, allocations: 4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.7166, allocations: 11.05 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7167, allocations: 7.922 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7167, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7167, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/0.7168, allocations: 149.7 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7168, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.7168, allocations: 4 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7168, allocations: 0 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.7168, allocations: 3.938 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7168, allocations: 3.984 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7168, allocations: 3.938 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.086e-05/0.7169, allocations: 53.14 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.717, allocations: 85.14 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.717, allocations: 3.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-06/0.717, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.717, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.717, allocations: 3.984 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.58e-05/0.717, allocations: 75.28 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.717, allocations: 4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001933/0.7172, allocations: 0 / 1.019 GB, free: 15.85 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.0001201/0.7174, allocations: 107.2 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.314e-05/0.7174, allocations: 3.938 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7174, allocations: 0 / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.7174, allocations: 4 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.7176, allocations: 1.969 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.7178, allocations: 97.02 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.718, allocations: 0.6731 MB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.191e-05/0.7181, allocations: 4.125 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.7181, allocations: 11.38 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7181, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.001865/0.72, allocations: 160.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches