Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001939/0.001939, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437.1 MB / 0.7111 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 77.34 kB / 0.8699 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3048, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002839/0.3077, allocations: 1.468 MB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004415/0.3081, allocations: 177 kB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.3082, allocations: 0 / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.3082, allocations: 3.984 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.3085, allocations: 19.86 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3087, allocations: 61.09 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3088, allocations: 63.7 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.3089, allocations: 7.984 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.3089, allocations: 19.97 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.309, allocations: 23.92 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.309, allocations: 4 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.3091, allocations: 4 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3091, allocations: 15.92 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.3091, allocations: 19.92 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3092, allocations: 52.09 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3093, allocations: 7.984 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3093, allocations: 0 / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3093, allocations: 0 / 1.02 GB, free: 8.75 MB / 0.795 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.000572/0.3099, allocations: 343.5 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3099, allocations: 12.92 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.3099, allocations: 0.9375 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.3101, allocations: 180.2 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3101, allocations: 384 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3101, allocations: 4.375 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3103, allocations: 76.81 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3103, allocations: 192 / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3103, allocations: 7.938 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3104, allocations: 0 / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.77e-05/0.3104, allocations: 19.92 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3108, allocations: 280.8 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.311, allocations: 38.56 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.311, allocations: 12.86 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.311, allocations: 3.984 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.3112, allocations: 67.42 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3112, allocations: 7.875 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002232/0.3114, allocations: 77.67 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.3115, allocations: 102.8 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.3116, allocations: 105.8 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3117, allocations: 29.7 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.3117, allocations: 84.05 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.3117, allocations: 11.84 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.3118, allocations: 21.7 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.312, allocations: 326.8 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.312, allocations: 15.92 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.3121, allocations: 26.83 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.509e-05/0.3121, allocations: 32.97 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3121, allocations: 0 / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001075/0.3122, allocations: 61.69 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3123, allocations: 6.812 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3123, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3123, allocations: 4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.3124, allocations: 11.97 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3124, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3125, allocations: 11.89 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3125, allocations: 4 kB / 1.022 GB, free: 6.543 MB / 0.795 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 0.0001011/0.3126, allocations: 118.4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.3126, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.3127, allocations: 7.484 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3127, allocations: 4 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3127, allocations: 4 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3127, allocations: 0 / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.3129, allocations: 169.6 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3129, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.3129, allocations: 7.984 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3129, allocations: 0 / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3129, allocations: 0 / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3129, allocations: 0 / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3129, allocations: 0 / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.3131, allocations: 104.9 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.3132, allocations: 89.02 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3132, allocations: 4.047 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3133, allocations: 8 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3133, allocations: 7.984 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3133, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.3134, allocations: 83.28 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3134, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000189/0.3136, allocations: 15.94 kB / 1.022 GB, free: 5.832 MB / 0.795 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.0001425/0.3138, allocations: 111.2 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.3139, allocations: 35.92 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3139, allocations: 0 / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.975e-05/0.314, allocations: 12 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3141, allocations: 9.438 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.3145, allocations: 151.6 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.3149, allocations: 0.6807 MB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.315, allocations: 11.44 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/0.315, allocations: 0 / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of Templates: time 0.002785/0.3178, allocations: 0.8361 MB / 1.024 GB, free: 3.938 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time