Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.005071/0.005072, allocations: 98.14 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.001509/0.001509, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 75.53 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2709, allocations: 162.2 MB / 1.241 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002991/0.2739, allocations: 1.866 MB / 1.243 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0042/0.2781, allocations: 3.544 MB / 1.247 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.2782, allocations: 0 / 1.247 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.2789, allocations: 167.6 kB / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.2791, allocations: 71.55 kB / 1.247 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.072e-05/0.2791, allocations: 27.89 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004367/0.2796, allocations: 259.1 kB / 1.247 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.2797, allocations: 25.5 kB / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2798, allocations: 71.75 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.28, allocations: 75.67 kB / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.28, allocations: 12 kB / 1.247 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.2801, allocations: 27.92 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.2802, allocations: 55.81 kB / 1.247 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.2803, allocations: 83.42 kB / 1.248 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.2805, allocations: 191.1 kB / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2805, allocations: 0 / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2805, allocations: 0 / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.2806, allocations: 0 / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008611/0.2814, allocations: 0.5215 MB / 1.248 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2815, allocations: 12.03 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.2815, allocations: 38.73 kB / 1.248 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.2816, allocations: 28.73 kB / 1.248 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.2819, allocations: 247.7 kB / 1.249 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2819, allocations: 8.375 kB / 1.249 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2819, allocations: 8.359 kB / 1.249 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.2823, allocations: 141.5 kB / 1.249 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2824, allocations: 3.984 kB / 1.249 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2824, allocations: 0 / 1.249 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.2824, allocations: 11.98 kB / 1.249 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.2829, allocations: 135.9 kB / 1.249 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006858/0.2836, allocations: 448.5 kB / 1.249 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.284, allocations: 162.5 kB / 1.249 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.2843, allocations: 104.8 kB / 1.25 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2843, allocations: 0 / 1.25 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2844, allocations: 34.56 kB / 1.25 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.2844, allocations: 0 / 1.25 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0008784/0.2853, allocations: 289.5 kB / 1.25 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2853, allocations: 55.41 kB / 1.25 GB, free: 436 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.2855, allocations: 234.6 kB / 1.25 GB, free: 192 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2856, allocations: 29.7 kB / 1.25 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.2857, allocations: 136.1 kB / 1.25 GB, free: 16 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.2857, allocations: 39.95 kB / 1.25 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.2858, allocations: 33.7 kB / 1.25 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.286, allocations: 338.8 kB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.2862, allocations: 71.94 kB / 1.251 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2865, allocations: 75.94 kB / 1.251 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.287, allocations: 151.9 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.287, allocations: 3.984 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005688/0.2876, allocations: 217.4 kB / 1.251 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2876, allocations: 4 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2876, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2876, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.2879, allocations: 43.89 kB / 1.251 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.2879, allocations: 0 / 1.251 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.288, allocations: 27.88 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2881, allocations: 3.938 kB / 1.251 GB, free: 15 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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.000128/0.2882, allocations: 146.3 kB / 1.251 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.2882, allocations: 19.86 kB / 1.251 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.2883, allocations: 25.84 kB / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2883, allocations: 3.984 kB / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2883, allocations: 0 / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2883, allocations: 4 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.2886, allocations: 265.5 kB / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2887, allocations: 3.938 kB / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.2889, allocations: 35.95 kB / 1.252 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2889, allocations: 0 / 1.252 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2889, allocations: 4 kB / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2889, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2889, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.2895, allocations: 315.2 kB / 1.252 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.2897, allocations: 116.9 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.2897, allocations: 4 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.2899, allocations: 11.98 kB / 1.252 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.29, allocations: 15.98 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.29, allocations: 7.984 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001634/0.2901, allocations: 173.9 kB / 1.252 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2901, allocations: 0 / 1.252 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002877/0.2904, allocations: 40 kB / 1.252 GB, free: 13.73 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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.0009562/0.2914, allocations: 0.8518 MB / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.292, allocations: 163.9 kB / 1.253 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.292, allocations: 0 / 1.253 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.2922, allocations: 95.88 kB / 1.253 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.2926, allocations: 52.16 kB / 1.254 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.296, allocations: 2.342 MB / 1.256 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2964, allocations: 0.7473 MB / 1.257 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.2965, allocations: 48.97 kB / 1.257 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2966, allocations: 59.41 kB / 1.257 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2966, allocations: 0 / 1.257 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.3215, allocations: 4.551 MB / 1.261 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.972, allocations: 10.36 kB / 1.261 GB, free: 4.895 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches