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.008424/0.008424, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001412/0.001412, allocations: 190.8 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.573/2.573, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.88 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.127, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.001728/1.129, allocations: 0.5764 MB / 1.167 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.134e-05/1.129, allocations: 0 / 1.167 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/1.129, allocations: 3.938 kB / 1.167 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/1.129, allocations: 0 / 1.167 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.215e-05/1.129, allocations: 7.938 kB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.511e-05/1.129, allocations: 0 / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/1.129, allocations: 0 / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/1.129, allocations: 13.95 kB / 1.167 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/1.129, allocations: 3.938 kB / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.177e-05/1.129, allocations: 0 / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/1.129, allocations: 0 / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-06/1.129, allocations: 0 / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/1.129, allocations: 0 / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/1.129, allocations: 7.984 kB / 1.167 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.495e-05/1.129, allocations: 0 / 1.167 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.129, allocations: 4 kB / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.324e-06/1.129, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.77e-06/1.129, allocations: 0 / 1.167 GB, free: 3.191 MB / 0.8887 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.0003237/1.13, allocations: 307.6 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.13, allocations: 12.91 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/1.13, allocations: 0.9375 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.13, allocations: 164.4 kB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/1.13, allocations: 384 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/1.13, allocations: 4.375 kB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/1.13, allocations: 30.27 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.13, allocations: 4.125 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/1.13, allocations: 3.938 kB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/1.13, allocations: 0 / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/1.13, allocations: 4 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/1.13, allocations: 145.7 kB / 1.168 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.224e-05/1.13, allocations: 18.58 kB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/1.13, allocations: 16.89 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/1.13, allocations: 0 / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.13, allocations: 30.56 kB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.425e-06/1.13, allocations: 0 / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001232/1.131, allocations: 41.53 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/1.131, allocations: 55.41 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.835e-05/1.131, allocations: 93.86 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/1.131, allocations: 25.7 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/1.131, allocations: 88.25 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/1.131, allocations: 0 / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/1.131, allocations: 9.719 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.131, allocations: 314.8 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/1.131, allocations: 3.938 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/1.131, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.46e-05/1.131, allocations: 16.8 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.131, allocations: 64 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.303e-05/1.131, allocations: 33.7 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.131, allocations: 4 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/1.131, allocations: 4 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.131, allocations: 7.922 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/1.131, allocations: 0 / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.131, allocations: 0 / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-06/1.131, allocations: 0 / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/1.131, allocations: 0 / 1.169 GB, free: 1.555 MB / 0.8887 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 7.822e-05/1.131, allocations: 113.9 kB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/1.131, allocations: 3.984 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/1.131, allocations: 7.062 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.131, allocations: 0 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.131, allocations: 0 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.131, allocations: 0 / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/1.131, allocations: 153.7 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.131, allocations: 0 / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/1.131, allocations: 3.938 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/1.131, allocations: 0 / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/1.131, allocations: 3.938 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.131, allocations: 8 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.131, allocations: 7.938 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.061e-05/1.131, allocations: 57.12 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/1.132, allocations: 77.11 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/1.132, allocations: 3.938 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-06/1.132, allocations: 0 / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/1.132, allocations: 4 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/1.132, allocations: 4.031 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.576e-05/1.132, allocations: 75.28 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.01e-07/1.132, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001836/1.132, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 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.0001496/1.132, allocations: 99.25 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/1.132, allocations: 11.92 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.132, allocations: 0 / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/1.132, allocations: 4.062 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/1.132, allocations: 4 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/1.132, allocations: 85.02 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/1.133, allocations: 0.669 MB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 1.205e-05/1.133, allocations: 3.938 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/1.133, allocations: 7.438 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of SimCode: time 7.51e-07/1.133, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of Templates: time 0.002089/1.135, allocations: 175.5 kB / 1.17 GB, free: 15.83 MB / 0.9044 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