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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001311/0.001311, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001518/0.001518, allocations: 194.6 kB / 16.26 MB, free: 6.621 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65.86 kB / 0.9116 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3066, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002853/0.3095, allocations: 1.523 MB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004665/0.31, allocations: 183 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.3101, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.3101, allocations: 3.938 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.3104, allocations: 27.91 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3106, allocations: 39.95 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.3107, allocations: 63.77 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.3108, allocations: 4 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.3108, allocations: 19.98 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.3109, allocations: 27.89 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.311, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.311, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.311, allocations: 15.94 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.3111, allocations: 23.92 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3112, allocations: 52.08 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3112, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3112, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3112, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 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.0005082/0.3117, allocations: 351.4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3118, allocations: 12.03 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.3118, allocations: 0.9375 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.312, allocations: 180.2 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.312, allocations: 4.375 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.312, allocations: 4.375 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3121, allocations: 68.81 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3122, allocations: 4.188 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3122, allocations: 3.938 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3122, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/0.3123, allocations: 23.92 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.3126, allocations: 272.9 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.3128, allocations: 38.58 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.3128, allocations: 20.88 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3128, allocations: 3.938 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.313, allocations: 67.39 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.896e-06/0.313, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002222/0.3132, allocations: 81.52 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.3133, allocations: 102.8 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.3134, allocations: 105.9 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3134, allocations: 25.7 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.3135, allocations: 92.06 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.3135, allocations: 15.83 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.3135, allocations: 25.7 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.3136, allocations: 318.8 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.3137, allocations: 8 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.3137, allocations: 34.56 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.3138, allocations: 24.86 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3138, allocations: 0 / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.3139, allocations: 61.59 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.314, allocations: 8.031 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.314, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.314, allocations: 3.938 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.3141, allocations: 11.98 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3141, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3142, allocations: 11.98 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3142, allocations: 4 kB / 1.072 GB, free: 6.555 MB / 0.8262 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.37e-05/0.3143, allocations: 113.8 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3143, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.3144, allocations: 11.5 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3144, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3144, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3144, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.3145, allocations: 174 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3145, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.3145, allocations: 8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3146, allocations: 192 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3146, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3146, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3146, allocations: 3.984 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.3147, allocations: 104.9 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.3148, allocations: 85.03 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3148, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3149, allocations: 11.98 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.315, allocations: 7.938 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.315, allocations: 3.984 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.315, allocations: 87.28 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.315, allocations: 0 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001936/0.3152, allocations: 12 kB / 1.072 GB, free: 5.836 MB / 0.8262 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.0001182/0.3154, allocations: 99.25 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.3155, allocations: 31.92 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3155, allocations: 4 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.3156, allocations: 15.98 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.3157, allocations: 15.88 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.3161, allocations: 141.2 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3163, allocations: 0.6807 MB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.3163, allocations: 7.984 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3164, allocations: 11.44 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3164, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.003042/0.3194, allocations: 0.869 MB / 1.074 GB, free: 3.945 MB / 0.8262 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