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.001555/0.001555, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001835/0.001835, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.364/2.364, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 62.78 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3071, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.003227/0.3104, allocations: 1.267 MB / 0.9524 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3118, allocations: 0.7408 MB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.3119, allocations: 3.938 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3119, allocations: 0 / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.3122, allocations: 7.938 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.3125, allocations: 43.92 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3126, allocations: 27.91 kB / 0.9532 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.3127, allocations: 4 kB / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.04e-05/0.3128, allocations: 12 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3129, allocations: 15.91 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.313, allocations: 0 / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.313, allocations: 11.94 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.3131, allocations: 4 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.3131, allocations: 15.91 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.3133, allocations: 11.98 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3133, allocations: 0 / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3133, allocations: 4 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.3133, allocations: 0 / 0.9532 GB, free: 5.891 MB / 0.7325 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.0004192/0.3137, allocations: 340.4 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3138, allocations: 8.031 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.3139, allocations: 76.22 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3141, allocations: 243.6 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.3141, allocations: 154.9 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.3142, allocations: 150.9 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.3143, allocations: 109.5 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.3144, allocations: 79.41 kB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.3145, allocations: 162.4 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/0.3145, allocations: 150.6 kB / 0.9546 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3147, allocations: 150.6 kB / 0.9548 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.3152, allocations: 457.9 kB / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3153, allocations: 169.1 kB / 0.9554 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.3154, allocations: 84.08 kB / 0.9555 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.3154, allocations: 79.28 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.761e-05/0.3155, allocations: 109.8 kB / 0.9557 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 3.998e-06/0.3155, allocations: 7.984 kB / 0.9557 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001212/0.3157, allocations: 29.64 kB / 0.9557 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.3158, allocations: 126.7 kB / 0.9558 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3159, allocations: 105.8 kB / 0.9559 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.316, allocations: 25.7 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.316, allocations: 84.14 kB / 0.956 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.3161, allocations: 0 / 0.956 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.3161, allocations: 21.7 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3163, allocations: 314.8 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.3163, allocations: 7.938 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.3164, allocations: 7.984 kB / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.3164, allocations: 16.86 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3164, allocations: 0 / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.3166, allocations: 41.69 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3166, allocations: 4 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3167, allocations: 12.06 kB / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3167, allocations: 0 / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.3167, allocations: 0 / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3167, allocations: 0 / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3168, allocations: 7.844 kB / 0.9564 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3169, allocations: 4 kB / 0.9564 GB, free: 2.383 MB / 0.7325 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 0.0001324/0.317, allocations: 191 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/0.3171, allocations: 105 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.3172, allocations: 116.5 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.841e-05/0.3173, allocations: 180.5 kB / 0.957 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001185/0.3174, allocations: 176.3 kB / 0.9572 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001649/0.3176, allocations: 192.2 kB / 0.9573 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3179, allocations: 397.2 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.803e-05/0.318, allocations: 113 kB / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.3181, allocations: 104.9 kB / 0.9579 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.586e-05/0.3182, allocations: 176.4 kB / 0.9581 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.3183, allocations: 188.2 kB / 0.9583 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001225/0.3185, allocations: 188.2 kB / 0.9585 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001141/0.3186, allocations: 180.3 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3188, allocations: 311.7 kB / 0.9589 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.3189, allocations: 186 kB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.319, allocations: 188.2 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3192, allocations: 101 kB / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.3193, allocations: 184.2 kB / 0.9596 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.3193, allocations: 101 kB / 0.9597 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.3194, allocations: 91.27 kB / 0.9597 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3194, allocations: 0 / 0.9597 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004228/0.3198, allocations: 4 kB / 0.9597 GB, free: 14.76 MB / 0.7481 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.0003451/0.3202, allocations: 190.3 kB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.731e-05/0.3203, allocations: 15.94 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3203, allocations: 0 / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.3203, allocations: 0 / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.3209, allocations: 459.7 kB / 0.9604 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.3213, allocations: 160.8 kB / 0.9605 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.3218, allocations: 0.6845 MB / 0.9612 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.3218, allocations: 0 / 0.9612 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.3218, allocations: 11.44 kB / 0.9612 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.3218, allocations: 3.938 kB / 0.9612 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of Templates: time 0.002984/0.3248, allocations: 432.1 kB / 0.9616 GB, free: 12.77 MB / 0.7481 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 -s cvode -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