Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009484/0.0009484, allocations: 98.56 kB / 16.02 MB, free: 76 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.001148/0.001148, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 11.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7354, allocations: 142.4 MB / 0.9557 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001517/0.7369, allocations: 0.994 MB / 0.9567 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.7381, allocations: 0.7138 MB / 0.9574 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.7382, allocations: 0 / 0.9574 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.7382, allocations: 0 / 0.9574 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.7385, allocations: 19.11 kB / 0.9574 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.7387, allocations: 39.44 kB / 0.9574 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.451e-05/0.7388, allocations: 39.84 kB / 0.9575 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.7388, allocations: 5.016 kB / 0.9575 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.7389, allocations: 7.125 kB / 0.9575 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.7391, allocations: 5.719 kB / 0.9575 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.7391, allocations: 1.125 kB / 0.9575 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.7392, allocations: 21.22 kB / 0.9575 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.7392, allocations: 3.219 kB / 0.9575 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.7393, allocations: 33.06 kB / 0.9575 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.852e-05/0.7394, allocations: 18.55 kB / 0.9576 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.7394, allocations: 0.9688 kB / 0.9576 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7394, allocations: 7.938 kB / 0.9576 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7394, allocations: 0 / 0.9576 GB, free: 6.566 MB / 0.7169 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.0002706/0.7397, allocations: 323.2 kB / 0.9579 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.7397, allocations: 9.156 kB / 0.9579 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.7398, allocations: 77.38 kB / 0.958 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.7399, allocations: 244.7 kB / 0.9582 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.74, allocations: 152 kB / 0.9583 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.74, allocations: 160.1 kB / 0.9585 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.513e-05/0.7401, allocations: 102.8 kB / 0.9586 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.7401, allocations: 75.47 kB / 0.9587 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.7401, allocations: 154.5 kB / 0.9588 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.7401, allocations: 151.6 kB / 0.959 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.7402, allocations: 155.6 kB / 0.9591 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.7404, allocations: 453.2 kB / 0.9595 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.7405, allocations: 166.1 kB / 0.9597 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.7405, allocations: 80.14 kB / 0.9598 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.7405, allocations: 80.25 kB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.7406, allocations: 111 kB / 0.96 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7406, allocations: 3.938 kB / 0.96 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.785e-05/0.7406, allocations: 35.97 kB / 0.96 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.7407, allocations: 127.6 kB / 0.9601 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7408, allocations: 105.9 kB / 0.9602 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.7408, allocations: 26.77 kB / 0.9602 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.7409, allocations: 89.38 kB / 0.9603 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.7409, allocations: 4 kB / 0.9603 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.7409, allocations: 10.94 kB / 0.9603 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.7409, allocations: 314.8 kB / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.741, allocations: 3.375 kB / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.741, allocations: 9.984 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.741, allocations: 16.83 kB / 0.9607 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.741, allocations: 0 / 0.9607 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001295/0.7412, allocations: 44.91 kB / 0.9607 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7412, allocations: 8.656 kB / 0.9607 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7412, allocations: 7.906 kB / 0.9607 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7412, allocations: 0 / 0.9607 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.7413, allocations: 4.188 kB / 0.9607 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.7413, allocations: 0 / 0.9607 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.284e-05/0.7414, allocations: 4 kB / 0.9607 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.7414, allocations: 1.219 kB / 0.9607 GB, free: 3.168 MB / 0.7169 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 6.837e-05/0.7414, allocations: 187.7 kB / 0.9609 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.7415, allocations: 110.2 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.7415, allocations: 117.5 kB / 0.9611 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.7416, allocations: 177.5 kB / 0.9613 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.901e-05/0.7416, allocations: 181.4 kB / 0.9615 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.7416, allocations: 180.2 kB / 0.9616 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.7418, allocations: 408.8 kB / 0.962 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.7418, allocations: 102.3 kB / 0.9621 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.7418, allocations: 109 kB / 0.9622 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/0.7418, allocations: 181.5 kB / 0.9624 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.7419, allocations: 181.2 kB / 0.9626 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.368e-05/0.7419, allocations: 181.4 kB / 0.9628 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.002e-05/0.7419, allocations: 185.5 kB / 0.9629 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.945e-05/0.742, allocations: 311.6 kB / 0.9632 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.7421, allocations: 179.4 kB / 0.9634 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.7421, allocations: 190.6 kB / 0.9636 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.7422, allocations: 113 kB / 0.9637 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.7423, allocations: 181.4 kB / 0.9639 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.7423, allocations: 102.3 kB / 0.964 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.7424, allocations: 84.81 kB / 0.964 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7424, allocations: 0 / 0.964 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002333/0.7426, allocations: 15.03 kB / 0.9641 GB, free: 15.57 MB / 0.7325 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.0003068/0.7429, allocations: 187.9 kB / 0.9642 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.743, allocations: 5.719 kB / 0.9642 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.743, allocations: 0 / 0.9642 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.743, allocations: 7.875 kB / 0.9642 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.7434, allocations: 0.518 MB / 0.9648 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.7437, allocations: 209.4 kB / 0.965 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.7439, allocations: 0.6719 MB / 0.9656 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.744, allocations: 8.781 kB / 0.9656 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.744, allocations: 0 / 0.9656 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.001979/0.746, allocations: 0.5098 MB / 0.9661 GB, free: 13.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches