Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8703/0.8703, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.725/1.725, allocations: 377.9 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.078e-05, allocations: 6.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00169/0.001711, allocations: 1.286 MB / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007697/0.002481, allocations: 0.8297 MB / 0.9831 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.002505, allocations: 4 kB / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.002533, allocations: 0 / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.002766, allocations: 15.88 kB / 0.9831 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.002916, allocations: 54.86 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.002996, allocations: 27.91 kB / 0.9832 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.00304, allocations: 4 kB / 0.9832 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.003097, allocations: 11.98 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.003183, allocations: 4 kB / 0.9832 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.003197, allocations: 0 / 0.9832 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.003234, allocations: 15.92 kB / 0.9832 GB, free: 316 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.003282, allocations: 11.98 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.003302, allocations: 0 / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.00341, allocations: 23.91 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003414, allocations: 0 / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.482e-06/0.003415, allocations: 0 / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003421, allocations: 4 kB / 0.9832 GB, free: 276 kB / 0.9323 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.0002872/0.003708, allocations: 250.4 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.003748, allocations: 11.97 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.003788, allocations: 110 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.003846, allocations: 84.17 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.004181, allocations: 181.1 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.004223, allocations: 158.9 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.009e-05/0.004263, allocations: 150.9 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.109e-05/0.004314, allocations: 105.5 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.004333, allocations: 79.47 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.004371, allocations: 150.9 kB / 0.9845 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.004409, allocations: 154.7 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.004446, allocations: 150.6 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.004648, allocations: 425 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.00471, allocations: 169.1 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.004735, allocations: 88.14 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.004755, allocations: 75.28 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.004786, allocations: 109.8 kB / 0.9856 GB, free: 13.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.004787, allocations: 0 / 0.9856 GB, free: 13.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.319e-05/0.00485, allocations: 29.69 kB / 0.9856 GB, free: 13.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.004892, allocations: 134.6 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.004987, allocations: 113.7 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.004998, allocations: 29.7 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.005027, allocations: 84.16 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.005029, allocations: 0 / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.005059, allocations: 25.66 kB / 0.986 GB, free: 13.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.005132, allocations: 322.8 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.005146, allocations: 0 / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.005173, allocations: 33.7 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.005207, allocations: 20.84 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005209, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.275e-05/0.005302, allocations: 41.64 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.005316, allocations: 6.969 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.005321, allocations: 0 / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.005331, allocations: 0 / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.005333, allocations: 8.062 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.005339, allocations: 3.984 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.005465, allocations: 4 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.005472, allocations: 0 / 0.9864 GB, free: 12.82 MB / 0.948 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.901e-05/0.005541, allocations: 189.1 kB / 0.9866 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.00558, allocations: 105 kB / 0.9867 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.005618, allocations: 116.4 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/0.005662, allocations: 180.6 kB / 0.987 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.13e-05/0.005703, allocations: 180.2 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/0.005749, allocations: 188.2 kB / 0.9873 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.005895, allocations: 380.3 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/0.00592, allocations: 104.9 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.005943, allocations: 101 kB / 0.9879 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.136e-05/0.005985, allocations: 184.2 kB / 0.988 GB, free: 11.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.00603, allocations: 184.2 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.906e-05/0.006069, allocations: 176.3 kB / 0.9884 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.244e-05/0.006111, allocations: 188.1 kB / 0.9886 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.006211, allocations: 299.8 kB / 0.9888 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.00627, allocations: 116.9 kB / 0.989 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.00632, allocations: 176.3 kB / 0.9891 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.006371, allocations: 104.9 kB / 0.9892 GB, free: 9.727 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.00642, allocations: 188.2 kB / 0.9894 GB, free: 9.535 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.006447, allocations: 109 kB / 0.9895 GB, free: 9.422 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.006483, allocations: 87.22 kB / 0.9896 GB, free: 9.336 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006483, allocations: 0 / 0.9896 GB, free: 9.336 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001535/0.006637, allocations: 4 kB / 0.9896 GB, free: 9.332 MB / 0.948 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.0004088/0.007046, allocations: 0.8166 MB / 0.9904 GB, free: 8.484 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.007122, allocations: 11.94 kB / 0.9904 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.007123, allocations: 4.062 kB / 0.9904 GB, free: 8.469 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.007125, allocations: 3.938 kB / 0.9904 GB, free: 8.465 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.00738, allocations: 462.1 kB / 0.9909 GB, free: 8.012 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.008291, allocations: 1.295 MB / 0.9921 GB, free: 6.633 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.315e-05/0.008334, allocations: 59.34 kB / 0.9922 GB, free: 6.555 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.008355, allocations: 0 / 0.9922 GB, free: 6.555 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.008378, allocations: 8.5 kB / 0.9922 GB, free: 6.547 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.008378, allocations: 3.938 kB / 0.9922 GB, free: 6.543 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.02681, allocations: 1.944 MB / 0.9941 GB, free: 4.812 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.698, allocations: 8.531 kB / 0.9941 GB, free: 4.805 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.688336704857647]