Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 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.001131/0.001131, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.2 MB / 0.6647 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7261/0.7275, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002403/0.73, allocations: 1.277 MB / 0.9508 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.7309, allocations: 0.7286 MB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.7309, allocations: 1.438 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.731, allocations: 3.938 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.7311, allocations: 14.36 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.7313, allocations: 49.8 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.575e-05/0.7314, allocations: 24.48 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.7314, allocations: 1.031 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.7315, allocations: 11.3 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.7316, allocations: 13.11 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.7316, allocations: 0 / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-05/0.7317, allocations: 14.33 kB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.7317, allocations: 6.156 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.7317, allocations: 11.36 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.56e-05/0.7318, allocations: 29.97 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7318, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7318, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7318, allocations: 0 / 0.9517 GB, free: 7.504 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.0002503/0.7321, allocations: 326.1 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7321, allocations: 9.906 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.7322, allocations: 77.41 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.7323, allocations: 248.7 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.7323, allocations: 160.1 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.7323, allocations: 152.1 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.412e-05/0.7324, allocations: 102.5 kB / 0.9527 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.7324, allocations: 79.41 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.7324, allocations: 163.5 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.7325, allocations: 154.6 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.7325, allocations: 151.7 kB / 0.9533 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.7327, allocations: 449.3 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.7327, allocations: 166.1 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.7328, allocations: 92.08 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.7328, allocations: 76.41 kB / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.7328, allocations: 105.8 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.7328, allocations: 1.062 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.424e-05/0.7329, allocations: 34.73 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.7329, allocations: 127.8 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.733, allocations: 106.1 kB / 0.9544 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.733, allocations: 29.7 kB / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.7331, allocations: 81.67 kB / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.7331, allocations: 0 / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.7331, allocations: 22.05 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.7331, allocations: 312.1 kB / 0.9548 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.7332, allocations: 2.812 kB / 0.9548 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.7332, allocations: 14.27 kB / 0.9548 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.7332, allocations: 20.55 kB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7332, allocations: 1.25 kB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.381e-05/0.7333, allocations: 40 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7334, allocations: 5.188 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7334, allocations: 3.938 kB / 0.9549 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7334, allocations: 1.125 kB / 0.9549 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.664e-06/0.7334, allocations: 4 kB / 0.9549 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7334, allocations: 0 / 0.9549 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.7335, allocations: 2.719 kB / 0.9549 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.7336, allocations: 5.703 kB / 0.9549 GB, free: 4.098 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.496e-05/0.7336, allocations: 194.4 kB / 0.9551 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.7337, allocations: 111.8 kB / 0.9552 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.7337, allocations: 113.8 kB / 0.9553 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.7337, allocations: 181.7 kB / 0.9555 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.7338, allocations: 180.3 kB / 0.9556 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.7338, allocations: 185.3 kB / 0.9558 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.7339, allocations: 405.5 kB / 0.9562 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.734, allocations: 105 kB / 0.9563 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.734, allocations: 106.5 kB / 0.9564 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.269e-05/0.734, allocations: 177.7 kB / 0.9566 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.734, allocations: 192.1 kB / 0.9568 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/0.7341, allocations: 177.3 kB / 0.9569 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.353e-05/0.7341, allocations: 185.8 kB / 0.9571 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.871e-05/0.7341, allocations: 303.5 kB / 0.9574 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.7342, allocations: 187.1 kB / 0.9576 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.7342, allocations: 189.6 kB / 0.9577 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.7343, allocations: 106 kB / 0.9578 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.7343, allocations: 181.4 kB / 0.958 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.7343, allocations: 102.5 kB / 0.9581 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.868e-05/0.7344, allocations: 88.36 kB / 0.9582 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7344, allocations: 0 / 0.9582 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002324/0.7346, allocations: 4.219 kB / 0.9582 GB, free: 0.5039 MB / 0.7169 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.0002188/0.7348, allocations: 189 kB / 0.9584 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.7349, allocations: 12.34 kB / 0.9584 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7349, allocations: 1.219 kB / 0.9584 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.7349, allocations: 0 / 0.9584 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.7352, allocations: 462.8 kB / 0.9588 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.7355, allocations: 163.3 kB / 0.959 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.7357, allocations: 0.6875 MB / 0.9597 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.7357, allocations: 1.5 kB / 0.9597 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.7357, allocations: 8.625 kB / 0.9597 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7357, allocations: 4 kB / 0.9597 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.002457/0.7382, allocations: 441.9 kB / 0.9601 GB, free: 14.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches