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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 191.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 67.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6133, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001747/0.6151, allocations: 0.6525 MB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.446e-05/0.6151, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.6152, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.6152, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.6152, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.207e-05/0.6153, allocations: 8 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.511e-05/0.6153, allocations: 7.922 kB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.6154, allocations: 3.938 kB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.323e-05/0.6154, allocations: 0 / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.9e-05/0.6154, allocations: 3.984 kB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.6154, allocations: 4 kB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.6154, allocations: 4 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.6154, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.6155, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.312e-05/0.6155, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6155, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6155, allocations: 3.938 kB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6155, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.7637 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.0003149/0.6158, allocations: 315.6 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6159, allocations: 8.031 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.6159, allocations: 4.938 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.616, allocations: 160.4 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.616, allocations: 4.375 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.616, allocations: 384 / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.6161, allocations: 26.27 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.6161, allocations: 192 / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.6161, allocations: 3.938 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.6161, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.6162, allocations: 7.938 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.6163, allocations: 153.7 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.947e-05/0.6163, allocations: 18.52 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.6164, allocations: 8.953 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.6164, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.6164, allocations: 30.56 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.6164, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001159/0.6165, allocations: 49.58 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6166, allocations: 51.41 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.436e-05/0.6166, allocations: 93.84 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.6166, allocations: 25.7 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.6167, allocations: 80.14 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.6167, allocations: 3.906 kB / 1.018 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.6167, allocations: 13.72 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.6168, allocations: 310.8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.6168, allocations: 8.125 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-06/0.6168, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.6169, allocations: 8.859 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6169, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.877e-05/0.6169, allocations: 33.64 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.617, allocations: 11.98 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.617, allocations: 3.984 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.617, allocations: 3.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.617, allocations: 96 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.617, allocations: 4 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-06/0.6171, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.6171, allocations: 4 kB / 1.019 GB, free: 460 kB / 0.7637 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 5.657e-05/0.6171, allocations: 110.4 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-06/0.6171, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.6172, allocations: 7.062 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.6172, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.6172, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6172, allocations: 4 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.1e-05/0.6172, allocations: 149.7 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6173, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.6173, allocations: 4 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.6173, allocations: 0 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.6173, allocations: 7.938 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6173, allocations: 3.938 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6173, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.752e-05/0.6174, allocations: 65.06 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.6174, allocations: 77.11 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.6174, allocations: 7.938 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-06/0.6174, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.6175, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.6175, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.6175, allocations: 75.28 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6175, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001904/0.6177, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 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 8.875e-05/0.6178, allocations: 101.2 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.42e-05/0.6178, allocations: 11.92 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6179, allocations: 4 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.6179, allocations: 0 / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.618, allocations: 4 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/0.6182, allocations: 80.97 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.6184, allocations: 0.669 MB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.494e-05/0.6184, allocations: 4.125 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.6184, allocations: 11.44 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.6184, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.001751/0.6202, allocations: 161.2 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) 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) Reference file matches