Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_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_latest_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.001725/0.001725, allocations: 112.6 kB / 16.37 MB, free: 6 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.001797/0.001797, allocations: 196 kB / 17.31 MB, free: 5.613 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 60.3 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002995/0.2894, allocations: 1.458 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000487/0.2899, allocations: 195.3 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.29, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.2901, allocations: 7.922 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.2903, allocations: 7.938 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.2906, allocations: 64.83 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2908, allocations: 67.83 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2909, allocations: 8 kB / 1.029 GB, free: 244 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.291, allocations: 23.92 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.291, allocations: 23.91 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2911, allocations: 4 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.2911, allocations: 4 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.2911, allocations: 11.98 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.2912, allocations: 23.92 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.2913, allocations: 55.73 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2913, allocations: 0 / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2913, allocations: 4 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2913, allocations: 0 / 1.029 GB, free: 92 kB / 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.0005493/0.2919, allocations: 347.5 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2919, allocations: 11.97 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.292, allocations: 4.922 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2921, allocations: 172.2 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2921, allocations: 4.375 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.2922, allocations: 384 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.2923, allocations: 80.81 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2923, allocations: 4.125 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2924, allocations: 3.938 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2924, allocations: 3.938 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.612e-05/0.2924, allocations: 15.98 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.2928, allocations: 268.9 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2929, allocations: 50.5 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.293, allocations: 12.86 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.293, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.2931, allocations: 63.47 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.2931, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.2933, allocations: 69.69 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.2934, allocations: 110.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.2935, allocations: 109.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2935, allocations: 25.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.2936, allocations: 84.05 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.2936, allocations: 23.81 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.2936, allocations: 17.72 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2938, allocations: 322.8 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.2938, allocations: 8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.2938, allocations: 38.81 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.2939, allocations: 24.98 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2939, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.294, allocations: 69.53 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.294, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2941, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2941, allocations: 4 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.2941, allocations: 4 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2942, allocations: 3.984 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2943, allocations: 15.95 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2943, allocations: 4 kB / 1.031 GB, free: 13.89 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 9.083e-05/0.2944, allocations: 121.8 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.2944, allocations: 192 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.2944, allocations: 7.484 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2944, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2945, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2945, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2946, allocations: 177.6 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2946, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.2946, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2946, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2947, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2947, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2947, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2948, allocations: 104.8 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.2949, allocations: 89.09 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2949, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.295, allocations: 12.05 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.2951, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2951, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.2951, allocations: 87.27 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2951, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001955/0.2953, allocations: 16 kB / 1.031 GB, free: 13.16 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.0001061/0.2954, allocations: 99.25 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2956, allocations: 39.92 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2956, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.2956, allocations: 12 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.2958, allocations: 11.92 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.2961, allocations: 117.5 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2963, allocations: 0.6807 MB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.209e-05/0.2964, allocations: 8 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.2964, allocations: 11.44 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2964, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of Templates: time 0.003093/0.2995, allocations: 0.8875 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches