Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001039/0.001039, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 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.467/2.467, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8505, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002406/0.8529, allocations: 1.268 MB / 1.169 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.854, allocations: 0.7373 MB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.8541, allocations: 3.938 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.8541, allocations: 3.984 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.8543, allocations: 11.92 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.8545, allocations: 53.48 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.8546, allocations: 23.98 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.8547, allocations: 0 / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.8547, allocations: 15.92 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.8549, allocations: 15.92 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.8549, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.517e-05/0.8549, allocations: 7.984 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.855, allocations: 4 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.855, allocations: 11.94 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.8551, allocations: 19.95 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8551, allocations: 0 / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8551, allocations: 4 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8552, allocations: 0 / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003351/0.8555, allocations: 331.1 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.8555, allocations: 12.92 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.8556, allocations: 76.22 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8557, allocations: 239.7 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.8558, allocations: 150.9 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.8559, allocations: 158.9 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.929e-05/0.8559, allocations: 101.5 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.856, allocations: 75.47 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.856, allocations: 154.5 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/0.8561, allocations: 158.6 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.8562, allocations: 158.5 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.8565, allocations: 450 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.8566, allocations: 173.1 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.8566, allocations: 84.12 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.8567, allocations: 75.28 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.8567, allocations: 113.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.8567, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.273e-05/0.8568, allocations: 33.64 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.8569, allocations: 134.6 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.857, allocations: 113.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.8571, allocations: 25.7 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.8571, allocations: 80.14 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.8571, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.8572, allocations: 25.69 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8573, allocations: 314.8 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.8573, allocations: 4 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.8573, allocations: 7.984 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.8574, allocations: 12.86 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8574, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.8575, allocations: 53.72 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.8575, allocations: 4 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8575, allocations: 3.938 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.8576, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.8576, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.8576, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.8577, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.8577, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.704e-05/0.8578, allocations: 189.1 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.8578, allocations: 105 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.8579, allocations: 116.4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-05/0.858, allocations: 180.3 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/0.858, allocations: 180.3 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.434e-05/0.8581, allocations: 184.2 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.8583, allocations: 405.2 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.8584, allocations: 104.9 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.8584, allocations: 109 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-05/0.8585, allocations: 180.2 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.549e-05/0.8586, allocations: 184.1 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.845e-05/0.8586, allocations: 176.3 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-05/0.8587, allocations: 188.4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.8588, allocations: 315.7 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.8589, allocations: 178.1 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.859, allocations: 180.2 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.8591, allocations: 120.9 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.8591, allocations: 176.5 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.8592, allocations: 108.9 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.8592, allocations: 83.28 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8592, allocations: 3.938 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002407/0.8595, allocations: 9.953 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002701/0.8598, allocations: 202.9 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.8598, allocations: 4 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8599, allocations: 0 / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.8599, allocations: 0 / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.8602, allocations: 452.2 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.8605, allocations: 210.5 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.8607, allocations: 0.6768 MB / 1.177 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.8608, allocations: 7.438 kB / 1.177 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.8608, allocations: 0 / 1.177 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of Templates: time 0.001812/0.8626, allocations: 0.514 MB / 1.178 GB, free: 8.465 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches