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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 204.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 0.5107 GB / 0.8158 GB, free: 17.9 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.33 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 181.9 MB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001826/0.3474, allocations: 0.5959 MB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.433e-05/0.3474, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.3475, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.3475, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.3475, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.621e-05/0.3475, allocations: 8 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.3476, allocations: 0 / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.3476, allocations: 4.344 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.3477, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.612e-05/0.3477, allocations: 3.938 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3477, allocations: 4 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-06/0.3477, allocations: 4 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.3477, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.3477, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.573e-05/0.3478, allocations: 3.984 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3478, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3478, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3478, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 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.0003024/0.3481, allocations: 238.4 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3482, allocations: 8.031 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.3482, allocations: 8.875 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.315e-05/0.3483, allocations: 110.5 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3483, allocations: 384 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.3483, allocations: 384 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3484, allocations: 34.25 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3484, allocations: 192 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3484, allocations: 3.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3484, allocations: 0 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.3484, allocations: 3.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.3485, allocations: 101.3 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.3486, allocations: 14.58 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.3486, allocations: 16.94 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.3486, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3487, allocations: 30.56 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3487, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.3488, allocations: 53.5 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3488, allocations: 51.41 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.3489, allocations: 89.86 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3489, allocations: 25.7 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.3489, allocations: 84.12 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.349, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.349, allocations: 17.84 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3491, allocations: 310.8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.3491, allocations: 4 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.3491, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.3492, allocations: 8.859 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3492, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.758e-05/0.3492, allocations: 41.62 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3492, allocations: 4 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3492, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3492, allocations: 4.094 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.3493, allocations: 3.938 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3493, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-06/0.3493, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.3493, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 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.48e-05/0.3494, allocations: 109.8 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-06/0.3494, allocations: 0 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.3494, allocations: 7 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3494, allocations: 7.922 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3494, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3494, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.444e-05/0.3495, allocations: 97.33 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3495, allocations: 3.938 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.3495, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.3495, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3495, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3495, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3495, allocations: 3.938 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.135e-05/0.3496, allocations: 65.06 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-06/0.3496, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.3496, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.3496, allocations: 7.969 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3496, allocations: 7.938 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.3496, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.3497, allocations: 75.28 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3497, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001799/0.3498, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 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.437e-05/0.3499, allocations: 91.25 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.35, allocations: 11.92 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.35, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-06/0.35, allocations: 12.06 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.3502, allocations: 0 / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.3504, allocations: 77.02 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.3504, allocations: 51.36 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.076e-05/0.3504, allocations: 0 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.3504, allocations: 11.44 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3504, allocations: 0 / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of Templates: time 0.002055/0.3525, allocations: 155.9 kB / 1.366 GB, free: 10.7 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.802437871694565]