Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_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.001154/0.001155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001247/0.001247, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.543/2.543, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5716, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003262/0.5749, allocations: 1.977 MB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004025/0.5789, allocations: 3.396 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.5791, allocations: 3.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.5794, allocations: 43.81 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.5799, allocations: 127.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.188e-05/0.58, allocations: 27.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.5802, allocations: 163.2 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.5803, allocations: 29.67 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.5805, allocations: 87.62 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.5807, allocations: 75.62 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.5808, allocations: 8 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.5808, allocations: 31.91 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.5809, allocations: 39.84 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.581, allocations: 75.47 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.5813, allocations: 163.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5813, allocations: 3.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5813, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.5813, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 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.0008765/0.5822, allocations: 0.4984 MB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5822, allocations: 8.031 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.5823, allocations: 42.73 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.5823, allocations: 24.66 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.5827, allocations: 234.9 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.5827, allocations: 4.375 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.5827, allocations: 4.375 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.5831, allocations: 139.1 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.5831, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5831, allocations: 4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.5832, allocations: 19.89 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.5836, allocations: 131.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/0.5843, allocations: 444.5 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.5847, allocations: 162.5 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.585, allocations: 108.7 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.585, allocations: 7.984 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.585, allocations: 38.56 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.585, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008475/0.5859, allocations: 277.7 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.5859, allocations: 55.41 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.5861, allocations: 213 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.5862, allocations: 25.7 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.5863, allocations: 120 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.5863, allocations: 39.45 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.5864, allocations: 37.7 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5866, allocations: 334.8 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.5868, allocations: 67.88 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.587, allocations: 71.94 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.5875, allocations: 159 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5875, allocations: 0 / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005431/0.588, allocations: 213.3 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5881, allocations: 4 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5881, allocations: 0 / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.5881, allocations: 4 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.5884, allocations: 39.89 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5884, allocations: 0 / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.5886, allocations: 19.92 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.5886, allocations: 15.88 kB / 1.026 GB, free: 8.711 MB / 0.7794 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.000126/0.5887, allocations: 126.4 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.5888, allocations: 19.72 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.5888, allocations: 25.83 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5889, allocations: 4 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5889, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.5889, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.5892, allocations: 257.5 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5892, allocations: 0 / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.5894, allocations: 39.91 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5895, allocations: 0 / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.5895, allocations: 8 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5895, allocations: 0 / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5895, allocations: 3.984 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.5901, allocations: 308.3 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5902, allocations: 112.8 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.5902, allocations: 0 / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.5904, allocations: 19.97 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.5905, allocations: 7.984 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.5905, allocations: 7.938 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001276/0.5906, allocations: 156.4 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5906, allocations: 0 / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002851/0.5909, allocations: 40 kB / 1.028 GB, free: 7.512 MB / 0.7794 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.000884/0.5918, allocations: 0.8527 MB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.5923, allocations: 183 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5924, allocations: 0 / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.5926, allocations: 99.86 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.593, allocations: 26.55 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.5961, allocations: 2.287 MB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.5964, allocations: 0.7313 MB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.5966, allocations: 48.58 kB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.5967, allocations: 47.42 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.5967, allocations: 3.938 kB / 1.032 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.6107, allocations: 3.535 MB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.611, allocations: 228.7 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.455, allocations: 0 / 1.035 GB, free: 15.5 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches