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.001433/0.001433, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.624/2.624, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6966, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002885/0.6995, allocations: 1.45 MB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004435/0.7, allocations: 187.4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.7, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.7001, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.7003, allocations: 27.84 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.7005, allocations: 51.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.7006, allocations: 55.84 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.7008, allocations: 7.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.7008, allocations: 27.97 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.7009, allocations: 19.92 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.701, allocations: 8 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.701, allocations: 7.938 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.701, allocations: 11.92 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.7011, allocations: 23.91 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.7012, allocations: 49.84 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7012, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7012, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7012, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 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.0005375/0.7018, allocations: 355.4 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.7018, allocations: 8.031 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.7019, allocations: 8.844 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.702, allocations: 168.4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.702, allocations: 4.375 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.702, allocations: 4.375 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.7022, allocations: 80.75 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.7022, allocations: 4.188 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.7022, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.7022, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/0.7023, allocations: 19.98 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.7027, allocations: 276.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.7028, allocations: 42.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.7028, allocations: 16.86 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.7028, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.7029, allocations: 59.48 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.703, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001997/0.7032, allocations: 73.61 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.7032, allocations: 102.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.7033, allocations: 113.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.7033, allocations: 25.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.7034, allocations: 91.98 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.7034, allocations: 11.89 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.7035, allocations: 21.66 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.7036, allocations: 322.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.7036, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.7037, allocations: 38.56 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.7037, allocations: 24.86 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7037, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.787e-05/0.7038, allocations: 61.62 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.7038, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.7039, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.7039, allocations: 448 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.7039, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7039, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.7041, allocations: 15.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.7041, allocations: 4.031 kB / 1.021 GB, free: 14.37 MB / 0.7794 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.644e-05/0.7042, allocations: 117.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.7042, allocations: 11.89 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.7042, allocations: 3.688 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7042, allocations: 3.984 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.7042, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7042, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.7044, allocations: 173.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7044, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.7044, allocations: 8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7044, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.7044, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.7044, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7044, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.7046, allocations: 89.05 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.7046, allocations: 96.94 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.7047, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.7048, allocations: 11.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.7048, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.7048, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.7049, allocations: 91.27 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7049, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001906/0.7051, allocations: 8 kB / 1.022 GB, free: 13.65 MB / 0.7794 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.0001033/0.7052, allocations: 103.2 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.7053, allocations: 35.92 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7053, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.7054, allocations: 12 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.7055, allocations: 7.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.7058, allocations: 129.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.706, allocations: 0.6807 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.7061, allocations: 8 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.7061, allocations: 11.44 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7061, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of Templates: time 0.002906/0.709, allocations: 0.8844 MB / 1.023 GB, free: 11.76 MB / 0.7794 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches