Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001667/0.001667, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.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.258/2.258, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 65.91 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002634/0.3148, allocations: 1.228 MB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3159, allocations: 0.7174 MB / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.316, allocations: 0 / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.316, allocations: 8 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.3163, allocations: 19.86 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.612e-05/0.3164, allocations: 3.938 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.3164, allocations: 15.92 kB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.3165, allocations: 7.984 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.3165, allocations: 0 / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.3169, allocations: 4 kB / 0.9522 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.3169, allocations: 0 / 0.9522 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.317, allocations: 11.98 kB / 0.9522 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.317, allocations: 0 / 0.9522 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.3171, allocations: 4 kB / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.435e-05/0.3172, allocations: 19.92 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3172, allocations: 0 / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3172, allocations: 0 / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3172, allocations: 3.938 kB / 0.9523 GB, free: 6.789 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.0003173/0.3175, allocations: 319.5 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3176, allocations: 8.031 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.3176, allocations: 80.22 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3178, allocations: 235.7 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.3178, allocations: 158.9 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.3179, allocations: 154.9 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.724e-05/0.318, allocations: 101.5 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.318, allocations: 83.47 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.3181, allocations: 158.5 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.3181, allocations: 154.6 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.3182, allocations: 154.5 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.3185, allocations: 442 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.3186, allocations: 169.1 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.3186, allocations: 84.14 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.3186, allocations: 75.28 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.3187, allocations: 109.8 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3187, allocations: 0 / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.354e-05/0.3188, allocations: 41.67 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.3189, allocations: 130.7 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.319, allocations: 97.86 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.319, allocations: 25.7 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.3191, allocations: 84.12 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.3191, allocations: 0 / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.3191, allocations: 9.719 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3192, allocations: 322.8 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.3192, allocations: 0 / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.3193, allocations: 0 / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.3193, allocations: 83.38 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/0.3193, allocations: 79.22 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.976e-05/0.3194, allocations: 33.64 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.3194, allocations: 79.28 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/0.3195, allocations: 79.22 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.774e-05/0.3195, allocations: 158.5 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.3196, allocations: 75.28 kB / 0.9559 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-05/0.3196, allocations: 162.5 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.3198, allocations: 83.22 kB / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.3198, allocations: 75.28 kB / 0.9562 GB, free: 2.527 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 (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 prepare postOptimizeDAE: time 0.0001282/0.32, allocations: 260.2 kB / 0.9564 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.32, allocations: 108.9 kB / 0.9565 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.3201, allocations: 120 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.868e-05/0.3202, allocations: 184.2 kB / 0.9568 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-05/0.3202, allocations: 180.3 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.025e-05/0.3203, allocations: 180.3 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.3206, allocations: 401.2 kB / 0.9576 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/0.3206, allocations: 101 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.3207, allocations: 120.9 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-05/0.3207, allocations: 176.3 kB / 0.9579 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/0.3208, allocations: 180.2 kB / 0.9581 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-05/0.3209, allocations: 184.2 kB / 0.9583 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-05/0.321, allocations: 180.3 kB / 0.9585 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3211, allocations: 307.8 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.3212, allocations: 182.1 kB / 0.9589 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.3213, allocations: 184.1 kB / 0.9591 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3214, allocations: 105 kB / 0.9592 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.3215, allocations: 188.2 kB / 0.9594 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.3215, allocations: 105 kB / 0.9595 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.3216, allocations: 83.27 kB / 0.9596 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3216, allocations: 0 / 0.9596 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002688/0.3219, allocations: 0 / 0.9596 GB, free: 14.85 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.000342/0.3222, allocations: 194.4 kB / 0.9597 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.106e-05/0.3223, allocations: 4.094 kB / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3223, allocations: 0 / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.3223, allocations: 7.875 kB / 0.9598 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3227, allocations: 457.2 kB / 0.9602 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.323, allocations: 197.2 kB / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3232, allocations: 0.6766 MB / 0.961 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.3233, allocations: 7.438 kB / 0.9611 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.3233, allocations: 0 / 0.9611 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of Templates: time 0.002005/0.3253, allocations: 480.5 kB / 0.9615 GB, free: 12.79 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches