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 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.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.001109/0.001109, 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.001177/0.001177, allocations: 195 kB / 16.25 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.8 kB / 0.9116 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2974, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002549/0.3, allocations: 1.523 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004352/0.3005, allocations: 171.5 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.3005, allocations: 4 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/0.3006, allocations: 11.92 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3009, allocations: 23.91 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3011, allocations: 51.55 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.3012, allocations: 59.8 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3014, allocations: 11.97 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.3015, allocations: 16 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.3016, allocations: 23.91 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.3016, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.3016, allocations: 8 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.3017, allocations: 19.91 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.3017, allocations: 19.94 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3018, allocations: 52.08 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3019, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3019, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3019, allocations: 0 / 1.07 GB, free: 8.758 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.000614/0.3025, allocations: 347.5 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3025, allocations: 12.03 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.3026, allocations: 8.875 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.3028, allocations: 176.2 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3028, allocations: 384 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3028, allocations: 4.375 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.303, allocations: 76.81 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.303, allocations: 192 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.303, allocations: 3.938 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.303, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/0.3031, allocations: 19.94 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.3035, allocations: 272.9 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.782e-05/0.3036, allocations: 42.56 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.3037, allocations: 12.86 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.3037, allocations: 4 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.3039, allocations: 67.36 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3039, allocations: 3.938 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002162/0.3041, allocations: 77.58 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3042, allocations: 106.8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.3043, allocations: 105.8 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3043, allocations: 25.7 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3043, allocations: 80.14 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3044, allocations: 19.84 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.3044, allocations: 21.7 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3045, allocations: 322.7 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.3046, allocations: 11.98 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.3046, allocations: 26.58 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.575e-05/0.3047, allocations: 28.84 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3047, allocations: 384 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.656e-05/0.3048, allocations: 73.62 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3048, allocations: 4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3048, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3048, allocations: 4 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.3049, allocations: 8.125 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3049, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.305, allocations: 9.547 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.3051, allocations: 4 kB / 1.072 GB, free: 6.559 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 7.932e-05/0.3051, allocations: 121.8 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.3052, allocations: 3.984 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.3052, allocations: 7.5 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3052, allocations: 7.984 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3052, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3052, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3053, allocations: 165.6 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3053, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.3054, allocations: 4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.3054, allocations: 3.984 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3054, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3054, allocations: 4 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3054, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3055, allocations: 96.84 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.3056, allocations: 85.09 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3056, allocations: 4 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3057, allocations: 7.984 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3058, allocations: 7.984 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3058, allocations: 8 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.3059, allocations: 87.28 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3059, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001888/0.3061, allocations: 16 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.0001111/0.3062, allocations: 103.2 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.3063, allocations: 31.92 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3063, allocations: 4 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.3063, allocations: 12 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.0001522/0.3065, allocations: 15.94 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.0002856/0.3068, allocations: 142.3 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.307, allocations: 0.6807 MB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.3071, allocations: 4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3071, allocations: 15.44 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3071, allocations: 4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of Templates: time 0.002794/0.3099, allocations: 0.8639 MB / 1.074 GB, free: 3.941 MB / 0.8262 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 -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/jenkins/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