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.001276/0.001276, allocations: 112.4 kB / 17.08 MB, free: 5.949 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.001329/0.001329, allocations: 192.7 kB / 20.03 MB, free: 3.027 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.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.77/2.77, allocations: 437.1 MB / 0.7177 GB, free: 4.48 MB / 0.5606 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.001975/0.001975, allocations: 63.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001738/0.3104, allocations: 0.5803 MB / 1.176 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.745e-05/0.3104, allocations: 4 kB / 1.176 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.3104, allocations: 4 kB / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.3105, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.3105, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.255e-05/0.3105, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.3106, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.3106, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.3107, allocations: 4 kB / 1.176 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.021e-05/0.3107, allocations: 7.875 kB / 1.176 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3107, allocations: 0 / 1.176 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.347e-06/0.3107, allocations: 4 kB / 1.176 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.3107, allocations: 0 / 1.176 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.3107, allocations: 3.984 kB / 1.176 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.127e-05/0.3108, allocations: 4 kB / 1.176 GB, free: 5.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3108, allocations: 3.984 kB / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3108, allocations: 0 / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3108, allocations: 3.938 kB / 1.176 GB, free: 5.242 MB / 0.92 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.0003169/0.3112, allocations: 307.6 kB / 1.177 GB, free: 4.891 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3112, allocations: 8.062 kB / 1.177 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.3112, allocations: 8.938 kB / 1.177 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3113, allocations: 164.3 kB / 1.177 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3114, allocations: 384 / 1.177 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.3114, allocations: 384 / 1.177 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.416e-05/0.3115, allocations: 30.25 kB / 1.177 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3115, allocations: 4.188 kB / 1.177 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3115, allocations: 3.938 kB / 1.177 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3115, allocations: 0 / 1.177 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.3115, allocations: 7.938 kB / 1.177 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.3117, allocations: 145.7 kB / 1.177 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.3e-05/0.3117, allocations: 18.61 kB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.3118, allocations: 4.859 kB / 1.177 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3118, allocations: 4.062 kB / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3118, allocations: 38.55 kB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3118, allocations: 0 / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.312, allocations: 41.62 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.312, allocations: 59.78 kB / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.3121, allocations: 89.86 kB / 1.177 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3121, allocations: 25.7 kB / 1.177 GB, free: 4.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3121, allocations: 80.14 kB / 1.177 GB, free: 4.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3122, allocations: 4 kB / 1.177 GB, free: 4.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.3122, allocations: 13.72 kB / 1.177 GB, free: 3.996 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3123, allocations: 310.8 kB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.3123, allocations: 0 / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-06/0.3124, allocations: 11.98 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.3124, allocations: 8.859 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3124, allocations: 0 / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.575e-05/0.3125, allocations: 41.64 kB / 1.178 GB, free: 3.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3125, allocations: 4 kB / 1.178 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3125, allocations: 3.984 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.3125, allocations: 7.922 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.3126, allocations: 4 kB / 1.178 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3126, allocations: 4.094 kB / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.3126, allocations: 0 / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.3126, allocations: 0 / 1.178 GB, free: 3.59 MB / 0.92 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.324e-05/0.3127, allocations: 109.8 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.3127, allocations: 0 / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.3127, allocations: 11.06 kB / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3127, allocations: 0 / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3127, allocations: 3.938 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3127, allocations: 0 / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.3128, allocations: 145.7 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3129, allocations: 0 / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.3129, allocations: 4 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3129, allocations: 3.984 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.3129, allocations: 3.938 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3129, allocations: 0 / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3129, allocations: 0 / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.777e-05/0.313, allocations: 61.08 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.313, allocations: 81.14 kB / 1.178 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.313, allocations: 3.938 kB / 1.178 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.039e-05/0.3131, allocations: 3.984 kB / 1.178 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.3131, allocations: 3.938 kB / 1.178 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.3131, allocations: 0 / 1.178 GB, free: 3.066 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.3131, allocations: 79.28 kB / 1.178 GB, free: 2.988 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.3131, allocations: 0 / 1.178 GB, free: 2.988 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001739/0.3133, allocations: 4 kB / 1.178 GB, free: 2.984 MB / 0.92 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.0001067/0.3134, allocations: 99.25 kB / 1.178 GB, free: 2.875 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.786e-05/0.3135, allocations: 11.94 kB / 1.178 GB, free: 2.863 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3135, allocations: 0 / 1.178 GB, free: 2.863 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/0.3135, allocations: 4 kB / 1.178 GB, free: 2.859 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.3136, allocations: 0 / 1.178 GB, free: 2.859 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.3138, allocations: 102.6 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3142, allocations: 0.6729 MB / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.3142, allocations: 7.438 kB / 1.179 GB, free: 2.02 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.3142, allocations: 4.125 kB / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of Templates: time 0.001595/0.3158, allocations: 323.8 kB / 1.179 GB, free: 1.699 MB / 0.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.13275699003134]