Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_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_latest_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.001256/0.001256, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00142/0.00142, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 63.88 kB / 0.8986 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3293, allocations: 157.4 MB / 1.052 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003004/0.3324, allocations: 1.513 MB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.3328, allocations: 195.4 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.3329, allocations: 4 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.3329, allocations: 3.984 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.3332, allocations: 15.88 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.3334, allocations: 54.98 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.3335, allocations: 63.69 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.3336, allocations: 7.984 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.3337, allocations: 23.98 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.3338, allocations: 23.92 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3338, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.3338, allocations: 4 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.3339, allocations: 19.91 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.3339, allocations: 15.94 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.334, allocations: 56.08 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.334, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3341, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3341, allocations: 0 / 1.054 GB, free: 6.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005824/0.3346, allocations: 351.5 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3347, allocations: 12.62 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3347, allocations: 0.9375 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3349, allocations: 172.3 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3349, allocations: 4.312 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3349, allocations: 4.375 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3351, allocations: 72.81 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3351, allocations: 4.188 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3351, allocations: 7.938 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3351, allocations: 0 / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/0.3352, allocations: 12 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.3356, allocations: 280.7 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.3357, allocations: 38.56 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.3358, allocations: 20.86 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3358, allocations: 0 / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.336, allocations: 67.42 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 3.807e-06/0.336, allocations: 3.984 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002183/0.3362, allocations: 73.61 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.3363, allocations: 106.8 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.3364, allocations: 105.8 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3364, allocations: 33.7 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.3365, allocations: 84.05 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.3365, allocations: 15.84 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.3365, allocations: 17.7 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3367, allocations: 322.8 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.3367, allocations: 11.98 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/0.3367, allocations: 26.58 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.3368, allocations: 40.75 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3368, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.3369, allocations: 61.69 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.337, allocations: 4 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.337, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.337, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.3371, allocations: 8 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3371, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3372, allocations: 11.89 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3372, allocations: 11.98 kB / 1.056 GB, free: 4.523 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: 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.84e-05/0.3373, allocations: 121.7 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3373, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.3374, allocations: 7.484 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3374, allocations: 4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3374, allocations: 448 / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3374, allocations: 0 / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3375, allocations: 173.6 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3375, allocations: 4 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.3376, allocations: 11.98 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3376, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3376, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3376, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3376, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.3377, allocations: 89.06 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.3378, allocations: 92.94 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3378, allocations: 7.938 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.338, allocations: 13.7 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.338, allocations: 7.984 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.338, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.3381, allocations: 83.28 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3381, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002043/0.3383, allocations: 12 kB / 1.057 GB, free: 3.812 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: 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.0001304/0.3384, allocations: 107.2 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.3386, allocations: 27.98 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3386, allocations: 8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.3386, allocations: 15.94 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.3388, allocations: 7.938 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.3391, allocations: 129.5 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3394, allocations: 0.6807 MB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.3395, allocations: 8.328 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.3395, allocations: 11.44 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3395, allocations: 3.938 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of Templates: time 0.003359/0.3429, allocations: 0.863 MB / 1.059 GB, free: 1.934 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches