Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005465/0.005465, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001376/0.001376, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.197/1.197, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.326/2.326, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2381, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001906/0.2401, allocations: 1.262 MB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000939/0.241, allocations: 0.7353 MB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.241, allocations: 0 / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.2411, allocations: 0 / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.2412, allocations: 15.91 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.2414, allocations: 51.38 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.422e-05/0.2415, allocations: 23.92 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.837e-05/0.2415, allocations: 3.938 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.2416, allocations: 19.97 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2417, allocations: 8 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.2417, allocations: 0 / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.2417, allocations: 4 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.2418, allocations: 19.84 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.2418, allocations: 8 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.694e-05/0.2419, allocations: 24.12 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2419, allocations: 0 / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2419, allocations: 4 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.2419, allocations: 0 / 1.168 GB, free: 5.082 MB / 0.92 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.0002939/0.2422, allocations: 327.5 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2422, allocations: 12.03 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.2423, allocations: 106 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.2424, allocations: 76.22 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2425, allocations: 251.5 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.2426, allocations: 154.9 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.2426, allocations: 150.9 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.557e-05/0.2427, allocations: 101.5 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.2427, allocations: 79.22 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.2428, allocations: 154.6 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.2429, allocations: 150.6 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.2429, allocations: 162.5 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.2432, allocations: 453.9 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.2433, allocations: 165.1 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.2433, allocations: 80.14 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.2434, allocations: 79.28 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.2434, allocations: 109.8 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.2434, allocations: 3.938 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.211e-05/0.2435, allocations: 41.56 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.2435, allocations: 126.7 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2436, allocations: 113.9 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2437, allocations: 25.7 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.2437, allocations: 84.14 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.2437, allocations: 4 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.2438, allocations: 17.72 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2439, allocations: 314.8 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.2439, allocations: 4 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.2439, allocations: 8 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.244, allocations: 16.84 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.244, allocations: 4.094 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.639e-05/0.2441, allocations: 45.59 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2441, allocations: 7.938 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2441, allocations: 0 / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.2441, allocations: 4 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.2441, allocations: 0 / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2441, allocations: 7.922 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.2442, allocations: 0 / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2442, allocations: 4 kB / 1.172 GB, free: 1.461 MB / 0.92 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 9.568e-05/0.2443, allocations: 193.1 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.2444, allocations: 108.9 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.2444, allocations: 112.5 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/0.2445, allocations: 176.3 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-05/0.2446, allocations: 184.2 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-05/0.2446, allocations: 180.3 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2449, allocations: 405.2 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.489e-05/0.2449, allocations: 109 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.245, allocations: 101 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.879e-05/0.245, allocations: 188.3 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.2451, allocations: 180.3 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.616e-05/0.2452, allocations: 188.2 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.511e-05/0.2452, allocations: 180.2 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2454, allocations: 307.8 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.2455, allocations: 182 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.2456, allocations: 196.1 kB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.2456, allocations: 105 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.2457, allocations: 184.2 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.2458, allocations: 105.2 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.2458, allocations: 87.28 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2458, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001915/0.246, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 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.0004709/0.2465, allocations: 0.8243 MB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.943e-05/0.2465, allocations: 7.938 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2465, allocations: 4 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.2466, allocations: 4.062 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.2469, allocations: 451.7 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/0.2478, allocations: 1.291 MB / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.248, allocations: 0.6768 MB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.478e-05/0.2481, allocations: 4 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.2481, allocations: 11.47 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2481, allocations: 3.938 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3/3.248, allocations: 1.289 MB / 1.179 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/13.92, allocations: 8.875 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches