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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001725/0.001725, allocations: 104.8 kB / 16.36 MB, free: 5.875 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.002058/0.002058, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 68.55 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3068, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.002074/0.3089, allocations: 0.5844 MB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.455e-05/0.309, allocations: 7.984 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.309, allocations: 0 / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.3091, allocations: 0 / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.3091, allocations: 0 / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.533e-05/0.3091, allocations: 4 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.3092, allocations: 4 kB / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.3093, allocations: 4 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.3093, allocations: 0 / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.819e-05/0.3093, allocations: 0 / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3093, allocations: 0 / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.3093, allocations: 0 / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.3093, allocations: 3.984 kB / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.3094, allocations: 0 / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.577e-05/0.3094, allocations: 0 / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3094, allocations: 4 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3095, allocations: 4 kB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3095, allocations: 3.938 kB / 1.019 GB, free: 9.223 MB / 0.795 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.0002735/0.3097, allocations: 311.5 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3098, allocations: 12.95 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.3098, allocations: 4.938 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.3099, allocations: 168.3 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3099, allocations: 384 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.3099, allocations: 384 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.302e-05/0.31, allocations: 30.27 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.31, allocations: 4.188 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.31, allocations: 3.938 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.31, allocations: 0 / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.3101, allocations: 3.984 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.3102, allocations: 145.7 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.3102, allocations: 22.52 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.3103, allocations: 8.922 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3103, allocations: 4 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.3103, allocations: 34.56 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3103, allocations: 0 / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001127/0.3104, allocations: 37.62 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3105, allocations: 55.41 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.121e-05/0.3105, allocations: 89.86 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3105, allocations: 33.64 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.3105, allocations: 80.14 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.3106, allocations: 4.125 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.3106, allocations: 9.719 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.3107, allocations: 310.8 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.3107, allocations: 4 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-06/0.3107, allocations: 0 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.3108, allocations: 12.86 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3108, allocations: 0 / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.708e-05/0.3108, allocations: 37.75 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3108, allocations: 6.969 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3108, allocations: 3.984 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3109, allocations: 3.938 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.3109, allocations: 7.938 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.3109, allocations: 0 / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.3109, allocations: 0 / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.311, allocations: 0 / 1.021 GB, free: 7.578 MB / 0.795 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.266e-05/0.311, allocations: 110.7 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-06/0.311, allocations: 4.031 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.3111, allocations: 15 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3111, allocations: 3.984 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3111, allocations: 3.938 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3111, allocations: 0 / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.758e-05/0.3112, allocations: 141.7 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3112, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.3112, allocations: 8 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3112, allocations: 0 / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3112, allocations: 3.938 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3112, allocations: 0 / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3112, allocations: 4 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.326e-05/0.3113, allocations: 65.06 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.3113, allocations: 77.11 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.3113, allocations: 3.938 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-06/0.3113, allocations: 0 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.3113, allocations: 0 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3114, allocations: 4 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.3114, allocations: 79.31 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3114, allocations: 0 / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001738/0.3116, allocations: 0 / 1.021 GB, free: 6.969 MB / 0.795 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.0001299/0.3117, allocations: 103.2 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.509e-05/0.3118, allocations: 4 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3118, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-06/0.3118, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.3119, allocations: 6.531 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.3122, allocations: 97.41 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.3124, allocations: 0.6768 MB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.3124, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.3124, allocations: 7.438 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3124, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of Templates: time 0.001676/0.3141, allocations: 172.9 kB / 1.022 GB, free: 5.852 MB / 0.795 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 -s gbode -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/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) Reference file matches