Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008624/0.008624, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001986/0.001986, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.585/2.585, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.16 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003025/0.3442, allocations: 1.459 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005093/0.3448, allocations: 180.8 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.3448, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.3449, allocations: 7.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.3452, allocations: 31.84 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.3454, allocations: 54.53 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3455, allocations: 59.78 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3457, allocations: 11.97 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.448e-05/0.3457, allocations: 16 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.3458, allocations: 27.84 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3459, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.3459, allocations: 8 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.3459, allocations: 15.92 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.346, allocations: 19.92 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3461, allocations: 51.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3461, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3461, allocations: 4 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.3462, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006374/0.3468, allocations: 347.4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3468, allocations: 8.031 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.3469, allocations: 8.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.347, allocations: 176.3 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3471, allocations: 4.359 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.452e-05/0.3472, allocations: 8.312 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3473, allocations: 72.75 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3473, allocations: 192 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3474, allocations: 7.938 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3474, allocations: 4 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.3474, allocations: 16 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.3479, allocations: 268.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.348, allocations: 42.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.3481, allocations: 20.8 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.3481, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.3483, allocations: 67.48 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3483, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000221/0.3485, allocations: 77.56 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3486, allocations: 102.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.3487, allocations: 105.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3487, allocations: 29.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.3488, allocations: 84.14 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3488, allocations: 7.906 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.3488, allocations: 29.7 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.349, allocations: 318.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.349, allocations: 11.98 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.3491, allocations: 30.95 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.762e-05/0.3491, allocations: 32.84 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3491, allocations: 3.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.662e-05/0.3492, allocations: 53.7 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3493, allocations: 13.42 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3493, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3493, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.3494, allocations: 8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3494, allocations: 4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3495, allocations: 7.984 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3495, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.981e-05/0.3496, allocations: 117.8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.3496, allocations: 7.953 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.3496, allocations: 7.688 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3497, allocations: 3.984 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3497, allocations: 3.984 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3497, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3498, allocations: 181.5 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3498, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.3498, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3499, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3499, allocations: 11.92 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3499, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3499, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.35, allocations: 85.06 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.3501, allocations: 93.05 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3501, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3502, allocations: 16.05 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3503, allocations: 3.984 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3503, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.3503, allocations: 87.28 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3503, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001975/0.3505, allocations: 8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000147/0.3507, allocations: 115.2 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.3508, allocations: 27.98 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3508, allocations: 0 / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.3509, allocations: 12 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.351, allocations: 9.359 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.3514, allocations: 137.5 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3517, allocations: 0.6807 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.3517, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.3518, allocations: 7.438 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3518, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of Templates: time 0.003262/0.355, allocations: 0.8829 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches