Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_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.001771/0.001771, allocations: 112 kB / 15.99 MB, free: 6.348 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.001798/0.001799, allocations: 189.7 kB / 16.91 MB, free: 6.188 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 72.88 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 159.2 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001813/0.3152, allocations: 0.647 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.637e-05/0.3153, allocations: 4 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.495e-05/0.3153, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.3153, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.3154, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.799e-05/0.3154, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.3155, allocations: 7.922 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.3155, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.3155, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.534e-05/0.3155, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.3156, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.3156, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3156, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.3156, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.012e-05/0.3157, allocations: 11.94 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3157, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3157, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.3157, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 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.0003/0.316, allocations: 311.6 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.316, allocations: 8.031 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.316, allocations: 0.9375 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3162, allocations: 160.4 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3162, allocations: 384 / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3162, allocations: 4.375 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.872e-05/0.3163, allocations: 34.2 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3163, allocations: 4.172 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.3163, allocations: 3.938 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3163, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.3163, allocations: 7.938 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.3165, allocations: 145.7 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/0.3165, allocations: 18.58 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.3166, allocations: 12.95 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.3166, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3166, allocations: 34.56 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.3166, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.3167, allocations: 45.56 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3168, allocations: 51.41 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.3168, allocations: 89.86 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3169, allocations: 29.83 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.3169, allocations: 80.14 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.3169, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.317, allocations: 17.72 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3171, allocations: 310.8 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.3171, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-06/0.3171, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.314e-05/0.3171, allocations: 8.922 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3172, allocations: 4 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.221e-05/0.3172, allocations: 37.62 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3172, allocations: 8 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3172, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3173, allocations: 3.938 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.3173, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.3173, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.3173, allocations: 4 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.3173, allocations: 4 kB / 1.066 GB, free: 12.76 MB / 0.8419 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.423e-05/0.3174, allocations: 109.9 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.3174, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.3175, allocations: 15.03 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3175, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3175, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3175, allocations: 11.94 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.795e-05/0.3176, allocations: 141.7 kB / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3176, allocations: 0 / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.3176, allocations: 0 / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3176, allocations: 0 / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3176, allocations: 11.94 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3176, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3176, allocations: 3.984 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.355e-05/0.3177, allocations: 57.08 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.3178, allocations: 77.11 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3178, allocations: 7.938 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-06/0.3178, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.3178, allocations: 4.031 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-06/0.3178, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.3178, allocations: 79.27 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3178, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001708/0.318, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 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 9.203e-05/0.3181, allocations: 95.53 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.857e-05/0.3182, allocations: 11.94 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3182, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-06/0.3182, allocations: 4.062 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.3183, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.3186, allocations: 110.6 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3189, allocations: 0.6729 MB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.3189, allocations: 11.44 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3189, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.001581/0.3205, allocations: 323.9 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches