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.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,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.001222/0.001222, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01156/0.01157, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.736/2.736, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004153, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.7991, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001342/0.8005, allocations: 0.9919 MB / 0.956 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.8016, allocations: 0.71 MB / 0.9567 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.8016, allocations: 0 / 0.9567 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.8016, allocations: 3.938 kB / 0.9567 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.8019, allocations: 14.67 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.802, allocations: 39.06 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.68e-05/0.8021, allocations: 35.56 kB / 0.9568 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.8022, allocations: 6.344 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.8023, allocations: 11.78 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.8024, allocations: 16.53 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.8024, allocations: 5 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.8025, allocations: 5.969 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.8026, allocations: 10.03 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.8026, allocations: 33.17 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.378e-05/0.8027, allocations: 21.8 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.8027, allocations: 0.9062 kB / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8027, allocations: 0 / 0.9569 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8027, allocations: 0 / 0.9569 GB, free: 6.258 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.0002498/0.803, allocations: 322.2 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.803, allocations: 10.19 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.8031, allocations: 81.31 kB / 0.9573 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/0.8032, allocations: 245.1 kB / 0.9575 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.8032, allocations: 152.3 kB / 0.9577 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.8033, allocations: 152.3 kB / 0.9578 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.411e-05/0.8033, allocations: 109.5 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.8033, allocations: 75.47 kB / 0.958 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.8034, allocations: 155.9 kB / 0.9581 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.8034, allocations: 154.5 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.8034, allocations: 150.6 kB / 0.9584 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.8036, allocations: 457.9 kB / 0.9589 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/0.8037, allocations: 174.4 kB / 0.959 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.8037, allocations: 80.14 kB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.8038, allocations: 80.66 kB / 0.9592 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.8038, allocations: 109.8 kB / 0.9593 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.8038, allocations: 0 / 0.9593 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.6e-05/0.8039, allocations: 37.12 kB / 0.9593 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.8039, allocations: 130.6 kB / 0.9595 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.804, allocations: 106.5 kB / 0.9596 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.804, allocations: 25.7 kB / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.8041, allocations: 85.3 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.8041, allocations: 0 / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.8041, allocations: 14.84 kB / 0.9597 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.8042, allocations: 315.9 kB / 0.96 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.8042, allocations: 3.125 kB / 0.96 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.8042, allocations: 10.09 kB / 0.96 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.8043, allocations: 17.62 kB / 0.96 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8043, allocations: 0 / 0.96 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001218/0.8044, allocations: 40.2 kB / 0.96 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8044, allocations: 6.062 kB / 0.96 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8044, allocations: 9.156 kB / 0.9601 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8045, allocations: 0 / 0.9601 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.664e-06/0.8045, allocations: 1.531 kB / 0.9601 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8045, allocations: 0 / 0.9601 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.8046, allocations: 9.047 kB / 0.9601 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.8046, allocations: 6.078 kB / 0.9601 GB, free: 2.848 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 7.016e-05/0.8047, allocations: 187.4 kB / 0.9603 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.8047, allocations: 102.1 kB / 0.9603 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.8048, allocations: 129.2 kB / 0.9605 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.8048, allocations: 177.4 kB / 0.9606 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/0.8048, allocations: 177.7 kB / 0.9608 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.8049, allocations: 181.3 kB / 0.961 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.805, allocations: 403.5 kB / 0.9614 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.805, allocations: 110.1 kB / 0.9615 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.8051, allocations: 106.2 kB / 0.9616 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-05/0.8051, allocations: 177.4 kB / 0.9617 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.8051, allocations: 193.2 kB / 0.9619 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.377e-05/0.8052, allocations: 177.4 kB / 0.9621 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-05/0.8052, allocations: 181.4 kB / 0.9623 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.811e-05/0.8053, allocations: 314.9 kB / 0.9626 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/0.8053, allocations: 188.3 kB / 0.9628 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.8054, allocations: 181.2 kB / 0.9629 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.8055, allocations: 110 kB / 0.963 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.8056, allocations: 181.3 kB / 0.9632 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.8056, allocations: 108.9 kB / 0.9633 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.8057, allocations: 85.16 kB / 0.9634 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8057, allocations: 0 / 0.9634 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002319/0.8059, allocations: 7.531 kB / 0.9634 GB, free: 15.25 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.0003194/0.8063, allocations: 191.8 kB / 0.9636 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.829e-05/0.8063, allocations: 9.359 kB / 0.9636 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8064, allocations: 0 / 0.9636 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.8064, allocations: 0 / 0.9636 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.8068, allocations: 0.5214 MB / 0.9641 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.8071, allocations: 174.8 kB / 0.9643 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.8074, allocations: 0.677 MB / 0.9649 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.8074, allocations: 2.281 kB / 0.9649 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.8074, allocations: 7.438 kB / 0.9649 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8074, allocations: 0 / 0.9649 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of Templates: time 0.002545/0.81, allocations: 415.4 kB / 0.9653 GB, free: 13.44 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/jenkins/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