Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_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.0009225/0.0009224, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.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.6/2.6, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003961, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7648, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0008546/0.7657, allocations: 321.3 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 4.052e-05/0.7657, allocations: 11.98 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.7658, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.7658, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.7658, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.818e-05/0.7659, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.542e-05/0.7659, allocations: 7.828 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.766, allocations: 4 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.173e-05/0.766, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/0.766, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.766, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-06/0.766, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.7661, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.7661, allocations: 29.69 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.317e-05/0.7661, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7662, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7662, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.7662, allocations: 8 kB / 1.024 GB, free: 15.45 MB / 0.7794 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.0002713/0.7665, allocations: 307.6 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7665, allocations: 12.03 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.7665, allocations: 0.9375 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.7667, allocations: 164.4 kB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.7667, allocations: 4.375 kB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.7667, allocations: 4.312 kB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.7668, allocations: 26.27 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.7668, allocations: 4.188 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.7668, allocations: 3.938 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7668, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.7668, allocations: 4 kB / 1.025 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.767, allocations: 145.7 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.767, allocations: 14.67 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.7671, allocations: 20.72 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.7671, allocations: 4 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.7671, allocations: 30.56 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7671, allocations: 4 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.7673, allocations: 37.64 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.7673, allocations: 51.41 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.55e-05/0.7674, allocations: 89.86 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.7674, allocations: 25.7 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.7674, allocations: 80.14 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.7675, allocations: 8.031 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.7675, allocations: 9.719 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7676, allocations: 314.8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.7676, allocations: 7.922 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-06/0.7676, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.7677, allocations: 12.86 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7677, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.158e-05/0.7678, allocations: 29.8 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7678, allocations: 8 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7678, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7678, allocations: 7.938 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.7679, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.7679, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-06/0.7679, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.7679, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 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.146e-05/0.768, allocations: 118.3 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.768, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.768, allocations: 15.06 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.768, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.768, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.768, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.15e-05/0.7681, allocations: 145.6 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7681, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.7682, allocations: 3.984 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.7682, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.7682, allocations: 3.938 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.7682, allocations: 4 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7682, allocations: 3.938 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.398e-05/0.7683, allocations: 61.14 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.7683, allocations: 77.11 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.7683, allocations: 7.922 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.7684, allocations: 3.984 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.7684, allocations: 3.938 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.7684, allocations: 4 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.637e-05/0.7684, allocations: 79.31 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7684, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001954/0.7686, allocations: 0 / 1.026 GB, free: 13.2 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 9.858e-05/0.7687, allocations: 97.22 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.304e-05/0.7688, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7688, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.7688, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.7689, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.7691, allocations: 112.6 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.7695, allocations: 0.673 MB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.7695, allocations: 7.438 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.023e-06/0.7695, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.001451/0.771, allocations: 319.8 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches