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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_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.00107/0.00107, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009596/0.009596, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 462.6 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 6.094 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3409, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0008909/0.3418, allocations: 331.4 kB / 1.059 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.195e-05/0.3419, allocations: 0 / 1.059 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.3419, allocations: 0 / 1.059 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.3419, allocations: 3.938 kB / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.3419, allocations: 4 kB / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.103e-05/0.342, allocations: 3.938 kB / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.342, allocations: 4 kB / 1.059 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.051e-05/0.3421, allocations: 3.984 kB / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.3421, allocations: 0 / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.124e-05/0.3422, allocations: 0 / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3422, allocations: 0 / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-06/0.3422, allocations: 0 / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.3422, allocations: 0 / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.3422, allocations: 29.7 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.503e-05/0.3423, allocations: 11.98 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3423, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3423, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3423, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 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.0002865/0.3426, allocations: 307.5 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3427, allocations: 12.09 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.3427, allocations: 0.9375 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.3428, allocations: 164.4 kB / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.3429, allocations: 384 / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.3429, allocations: 4.312 kB / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.343, allocations: 30.27 kB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.343, allocations: 4.188 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.343, allocations: 3.938 kB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.343, allocations: 3.938 kB / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.3431, allocations: 0 / 1.06 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.3432, allocations: 145.7 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.3433, allocations: 22.59 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.3433, allocations: 12.8 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.3433, allocations: 4.062 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3434, allocations: 34.56 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.3434, allocations: 0 / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.3435, allocations: 33.64 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.3436, allocations: 51.41 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.3436, allocations: 89.86 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3436, allocations: 25.83 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.3437, allocations: 84.14 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.3437, allocations: 4 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.3437, allocations: 9.719 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3439, allocations: 318.8 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.3439, allocations: 3.938 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-06/0.3439, allocations: 0 / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.3439, allocations: 12.8 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.344, allocations: 4.062 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.992e-05/0.344, allocations: 29.7 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.344, allocations: 8 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.3441, allocations: 4 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3441, allocations: 7.922 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.3441, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3442, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.3442, allocations: 3.984 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3442, allocations: 4 kB / 1.06 GB, free: 3.461 MB / 0.8106 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 8.947e-05/0.3443, allocations: 121.8 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.3443, allocations: 0 / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.3443, allocations: 7.062 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3443, allocations: 0 / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3443, allocations: 0 / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3443, allocations: 4 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.208e-05/0.3444, allocations: 145.7 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3445, allocations: 0 / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.3445, allocations: 3.938 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3445, allocations: 0 / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3445, allocations: 7.938 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3445, allocations: 4 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3445, allocations: 0 / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.3446, allocations: 53.14 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.3446, allocations: 81.09 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3447, allocations: 7.938 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.3447, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.3447, allocations: 3.938 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.3447, allocations: 4.031 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.3447, allocations: 75.28 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3447, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001958/0.3449, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 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.0001095/0.3451, allocations: 95.53 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.446e-05/0.3451, allocations: 8 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3451, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.3451, allocations: 4.062 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.3453, allocations: 0 / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.3455, allocations: 86.59 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3458, allocations: 0.6692 MB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.3458, allocations: 0 / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.3459, allocations: 7.438 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3459, allocations: 7.875 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of Templates: time 0.001996/0.3479, allocations: 157.2 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) 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) Reference file matches