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.001308/0.001308, allocations: 115.5 kB / 17.13 MB, free: 6.027 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.001406/0.001406, allocations: 209.8 kB / 20.1 MB, free: 3.074 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.968/2.968, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002825/0.002825, allocations: 71.89 kB / 1.15 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001781/1.17, allocations: 0.6026 MB / 1.322 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.631e-05/1.17, allocations: 13.14 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/1.17, allocations: 3.938 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/1.17, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/1.17, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.062e-05/1.17, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.921e-05/1.17, allocations: 3 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/1.17, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/1.171, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.149e-05/1.171, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/1.171, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/1.171, allocations: 2.875 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/1.171, allocations: 4 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/1.171, allocations: 4 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.874e-05/1.171, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.171, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.063e-06/1.171, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.171, allocations: 0 / 1.323 GB, free: 24.66 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.0002471/1.171, allocations: 313.7 kB / 1.323 GB, free: 24.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.171, allocations: 19.48 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/1.171, allocations: 0.9375 kB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/1.171, allocations: 160.4 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/1.171, allocations: 4.375 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/1.171, allocations: 384 / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/1.171, allocations: 36.36 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.171, allocations: 192 / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/1.171, allocations: 3.938 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/1.171, allocations: 0 / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/1.171, allocations: 2.938 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/1.171, allocations: 145.3 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/1.171, allocations: 25.42 kB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/1.171, allocations: 14.73 kB / 1.323 GB, free: 23.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/1.171, allocations: 0 / 1.323 GB, free: 23.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/1.171, allocations: 30.56 kB / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/1.171, allocations: 0 / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001089/1.171, allocations: 35.7 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/1.172, allocations: 59.47 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.27e-05/1.172, allocations: 89.86 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/1.172, allocations: 25.7 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/1.172, allocations: 83.28 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/1.172, allocations: 3.953 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/1.172, allocations: 16.75 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/1.172, allocations: 310.8 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-06/1.172, allocations: 3 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-06/1.172, allocations: 7.938 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.534e-05/1.172, allocations: 7.922 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.172, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.019e-05/1.172, allocations: 38.03 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.172, allocations: 5.281 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.172, allocations: 3.938 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.172, allocations: 7.938 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/1.172, allocations: 2.344 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.172, allocations: 0 / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-06/1.172, allocations: 4.094 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/1.172, allocations: 3.938 kB / 1.324 GB, free: 23.07 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 3.974e-05/1.172, allocations: 108.3 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/1.172, allocations: 3.328 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/1.172, allocations: 7.062 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/1.172, allocations: 0 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/1.172, allocations: 0 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.172, allocations: 2.188 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.955e-05/1.172, allocations: 145.7 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/1.172, allocations: 7.422 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/1.172, allocations: 2.781 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/1.172, allocations: 0 / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/1.172, allocations: 7.922 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/1.172, allocations: 0 / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.172, allocations: 2.719 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.847e-05/1.172, allocations: 58.23 kB / 1.324 GB, free: 22.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/1.172, allocations: 80.58 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/1.172, allocations: 7.969 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/1.172, allocations: 0 / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/1.172, allocations: 2.688 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-06/1.172, allocations: 0 / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.621e-05/1.172, allocations: 79.28 kB / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 4e-08/1.172, allocations: 0 / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001912/1.172, allocations: 0 / 1.324 GB, free: 22.5 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 7.075e-05/1.172, allocations: 95.5 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.852e-05/1.172, allocations: 6.938 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.172, allocations: 0 / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.772e-06/1.172, allocations: 5.734 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/1.173, allocations: 0 / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/1.173, allocations: 104.4 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/1.173, allocations: 0.6723 MB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/1.173, allocations: 7.438 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.173, allocations: 3.938 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of Templates: time 0.001567/1.174, allocations: 329 kB / 1.326 GB, free: 21.56 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.864164733007783]