Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001335, allocations: 102 kB / 16.35 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.001306/0.001306, allocations: 196 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.426/2.426, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 74.97 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3437, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001685/0.3454, allocations: 0.6039 MB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.332e-05/0.3455, allocations: 7.938 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.3455, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.3455, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-06/0.3455, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-05/0.3456, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.3456, allocations: 8 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.3457, allocations: 4 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.063e-05/0.3457, allocations: 0 / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.691e-05/0.3457, allocations: 3.984 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.3457, allocations: 0 / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-06/0.3457, allocations: 0 / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.3458, allocations: 4 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.3458, allocations: 0 / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.432e-05/0.3458, allocations: 7.938 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3458, allocations: 0 / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3458, allocations: 3.938 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.3459, allocations: 0 / 1.027 GB, free: 1.441 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.0002379/0.3461, allocations: 312.8 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3461, allocations: 8.031 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.3462, allocations: 0.9375 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.3463, allocations: 170.8 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.3463, allocations: 8.312 kB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.3463, allocations: 384 / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.3464, allocations: 30.27 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.3464, allocations: 192 / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3464, allocations: 3.938 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3464, allocations: 0 / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.428e-05/0.3464, allocations: 0 / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.3466, allocations: 153.6 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.968e-05/0.3466, allocations: 22.56 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.3466, allocations: 8.953 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.3466, allocations: 0 / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3467, allocations: 30.56 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3467, allocations: 0 / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001113/0.3468, allocations: 41.58 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3468, allocations: 55.41 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.065e-05/0.3469, allocations: 93.98 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3469, allocations: 25.7 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.3469, allocations: 80.14 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3469, allocations: 0 / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.347, allocations: 9.719 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3471, allocations: 318.8 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.3471, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.3471, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.3471, allocations: 16.92 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3471, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.575e-05/0.3472, allocations: 37.64 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3472, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3472, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3472, allocations: 7.938 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.3473, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.3473, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.3473, allocations: 3.984 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3473, allocations: 4.031 kB / 1.029 GB, free: 15.8 MB / 0.8106 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.264e-05/0.3474, allocations: 109.8 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.3474, allocations: 4 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.3474, allocations: 7.062 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3474, allocations: 7.875 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3474, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3474, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.579e-05/0.3475, allocations: 149.7 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3475, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.3475, allocations: 4 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3475, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3475, allocations: 3.938 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.3475, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3475, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.523e-05/0.3476, allocations: 61.08 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.3477, allocations: 81.09 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.3477, allocations: 3.938 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.3477, allocations: 4.031 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.3477, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.3477, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.26e-05/0.3477, allocations: 75.28 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3477, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001886/0.3479, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 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 8.646e-05/0.348, allocations: 95.25 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.513e-05/0.3481, allocations: 4 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3481, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.772e-06/0.3481, allocations: 7.938 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.3482, allocations: 4 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.3484, allocations: 84.91 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3486, allocations: 0.669 MB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.879e-06/0.3487, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.3487, allocations: 11.44 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3487, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of Templates: time 0.001839/0.3505, allocations: 176.9 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches