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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.059 GB, free: 500 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 160.7 MB / 1.216 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001941/0.3207, allocations: 0.6 MB / 1.217 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.318e-05/0.3207, allocations: 0 / 1.217 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.3207, allocations: 0 / 1.217 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.3207, allocations: 0 / 1.217 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.3207, allocations: 0 / 1.217 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.994e-05/0.3208, allocations: 8 kB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.3209, allocations: 7.938 kB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.3209, allocations: 3.984 kB / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.3209, allocations: 0 / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.906e-05/0.321, allocations: 0 / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.321, allocations: 4 kB / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-06/0.321, allocations: 0 / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.321, allocations: 0 / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.321, allocations: 3.938 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.84e-05/0.3211, allocations: 0 / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3211, allocations: 0 / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3211, allocations: 0 / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3211, allocations: 4 kB / 1.217 GB, free: 14.82 MB / 0.9669 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.000371/0.3215, allocations: 315.6 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3215, allocations: 11.97 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.3215, allocations: 0.9375 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3216, allocations: 160.4 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3217, allocations: 4.375 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3217, allocations: 384 / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.3218, allocations: 26.27 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3218, allocations: 192 / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3218, allocations: 7.938 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3218, allocations: 0 / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.3218, allocations: 7.938 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.322, allocations: 153.6 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.322, allocations: 18.67 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.322, allocations: 4.859 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3221, allocations: 0 / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3221, allocations: 34.56 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3221, allocations: 0 / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.3222, allocations: 49.53 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3223, allocations: 51.41 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.282e-05/0.3223, allocations: 89.86 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3223, allocations: 29.69 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.3224, allocations: 84.12 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3224, allocations: 0 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.3224, allocations: 17.84 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3226, allocations: 310.8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.3226, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.3226, allocations: 7.938 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.3226, allocations: 8.859 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3226, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.837e-05/0.3227, allocations: 33.64 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3227, allocations: 12.09 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3227, allocations: 3.984 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3227, allocations: 7.938 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.3228, allocations: 0 / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3228, allocations: 0 / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.3228, allocations: 4 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3228, allocations: 0 / 1.218 GB, free: 13.17 MB / 0.9669 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 0.0001049/0.3229, allocations: 109.8 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-06/0.3229, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.3229, allocations: 11.06 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3229, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3229, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.3229, allocations: 4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.323, allocations: 149.6 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.323, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-06/0.323, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.323, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.323, allocations: 7.938 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.323, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.323, allocations: 3.938 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.892e-05/0.3231, allocations: 61.12 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.3232, allocations: 81.09 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3232, allocations: 7.938 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.3232, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.3232, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.3232, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.3232, allocations: 75.28 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3232, allocations: 4.031 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001822/0.3234, allocations: 0 / 1.219 GB, free: 12.57 MB / 0.9669 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.000112/0.3235, allocations: 95.25 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.967e-05/0.3236, allocations: 15.92 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3236, allocations: 0 / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-06/0.3236, allocations: 7.938 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3238, allocations: 4 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.324, allocations: 84.98 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3244, allocations: 0.6729 MB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.01e-05/0.3244, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.3244, allocations: 7.438 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.3244, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of Templates: time 0.002181/0.3266, allocations: 173 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.967712537385523]