Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002068/0.002068, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002752/0.002752, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.007/3.007, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8107 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.653e-05, allocations: 3.656 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001699/0.001726, allocations: 0.6153 MB / 0.8114 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 3.683e-05/0.001763, allocations: 6.406 kB / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.001779, allocations: 0 / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.001798, allocations: 0 / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.001803, allocations: 0 / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.053e-05/0.001844, allocations: 1.031 kB / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.001893, allocations: 4 kB / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.001928, allocations: 0 / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.001961, allocations: 2.031 kB / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.939e-05/0.001981, allocations: 0 / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.001992, allocations: 0 / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-06/0.001994, allocations: 1.375 kB / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.002004, allocations: 0 / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.002021, allocations: 4.219 kB / 0.8114 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.168e-05/0.002073, allocations: 11.91 kB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002075, allocations: 1.75 kB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002075, allocations: 0 / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002078, allocations: 0 / 0.8114 GB, free: 1.527 MB / 0.7605 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.000353/0.002431, allocations: 336.4 kB / 0.8117 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.002468, allocations: 8.031 kB / 0.8117 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.002499, allocations: 2.125 kB / 0.8117 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.002596, allocations: 112.6 kB / 0.8118 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.002608, allocations: 384 / 0.8118 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.002614, allocations: 0.9375 kB / 0.8118 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.002695, allocations: 36.06 kB / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.002702, allocations: 192 / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.00271, allocations: 384 / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.002713, allocations: 384 / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.00273, allocations: 3.938 kB / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.002867, allocations: 115.2 kB / 0.812 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.002928, allocations: 30.98 kB / 0.812 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.002954, allocations: 11.78 kB / 0.812 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.002965, allocations: 0 / 0.812 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.002998, allocations: 33.39 kB / 0.812 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.002999, allocations: 0 / 0.812 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.00313, allocations: 38.41 kB / 0.8121 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.003174, allocations: 55.94 kB / 0.8121 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.00332, allocations: 142.2 kB / 0.8123 GB, free: 476 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.003338, allocations: 27.36 kB / 0.8123 GB, free: 444 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.003399, allocations: 130.8 kB / 0.8124 GB, free: 308 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.003423, allocations: 0 / 0.8124 GB, free: 308 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.00346, allocations: 19.38 kB / 0.8124 GB, free: 280 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.003718, allocations: 0.489 MB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.003727, allocations: 0 / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-06/0.003731, allocations: 1.125 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.003758, allocations: 11.69 kB / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.00376, allocations: 0.75 kB / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.525e-05/0.003815, allocations: 38.28 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.003829, allocations: 7.938 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.003832, allocations: 0.8438 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.003845, allocations: 0 / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.003896, allocations: 9.906 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.0039, allocations: 0 / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.003911, allocations: 3.938 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.003914, allocations: 0 / 0.813 GB, free: 15.7 MB / 0.7761 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.0001022/0.004017, allocations: 156.6 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.004026, allocations: 4.656 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.158e-05/0.004037, allocations: 3 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.004041, allocations: 6.422 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.004047, allocations: 4 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.004049, allocations: 0 / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.412e-05/0.004143, allocations: 108.6 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004143, allocations: 0 / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.004156, allocations: 4 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.004157, allocations: 1.844 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.004162, allocations: 0 / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004163, allocations: 0 / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004163, allocations: 0 / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.555e-05/0.004259, allocations: 80.31 kB / 0.8133 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.004265, allocations: 4.484 kB / 0.8133 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.004276, allocations: 4.812 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-06/0.004283, allocations: 0 / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.004296, allocations: 1.844 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.004298, allocations: 0 / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.004357, allocations: 119.2 kB / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004357, allocations: 0 / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001701/0.004527, allocations: 0 / 0.8135 GB, free: 15.15 MB / 0.7761 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.0001061/0.004633, allocations: 100.5 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.004708, allocations: 15.67 kB / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.00471, allocations: 0.7188 kB / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.004726, allocations: 12.34 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.00485, allocations: 4 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.005063, allocations: 79.77 kB / 0.8137 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.005117, allocations: 59.22 kB / 0.8137 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.698e-06/0.005127, allocations: 3.938 kB / 0.8137 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.005155, allocations: 12.48 kB / 0.8137 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.005155, allocations: 0 / 0.8137 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.002385/0.007541, allocations: 191.6 kB / 0.8139 GB, free: 14.62 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.924603812978603]