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.00132/0.00132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.441/2.441, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.89 kB / 0.8693 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4595, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002658/0.4622, allocations: 1.906 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.4654, allocations: 3.446 MB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.4655, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.4658, allocations: 55.61 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.4661, allocations: 135.2 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.895e-05/0.4662, allocations: 19.97 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.4664, allocations: 171.2 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.4665, allocations: 29.67 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.4666, allocations: 79.64 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.4668, allocations: 87.61 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.4668, allocations: 8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.4669, allocations: 27.92 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.4669, allocations: 35.84 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.467, allocations: 75.53 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.4672, allocations: 155.4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.4672, allocations: 7.875 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4672, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5e-06/0.4672, allocations: 4 kB / 1.023 GB, free: 12.17 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.000697/0.4679, allocations: 0.5002 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.4679, allocations: 12.03 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.468, allocations: 34.75 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.468, allocations: 24.66 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.4683, allocations: 235 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.4683, allocations: 4.375 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.4683, allocations: 8.375 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.4686, allocations: 150.8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.4687, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4687, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.4687, allocations: 11.91 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.4691, allocations: 135.9 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.4697, allocations: 444.5 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.47, allocations: 166.4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.4703, allocations: 96.8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.4703, allocations: 3.984 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4703, allocations: 42.55 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.4703, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0007269/0.471, allocations: 278.9 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.4711, allocations: 55.41 kB / 1.026 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.4712, allocations: 213 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4713, allocations: 33.7 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.4713, allocations: 120 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.4714, allocations: 39.45 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.4714, allocations: 25.7 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.4715, allocations: 334.8 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.4717, allocations: 71.94 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.4719, allocations: 75.92 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.4723, allocations: 162.6 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4723, allocations: 0 / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004648/0.4728, allocations: 217.1 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4728, allocations: 4 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4728, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.4728, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.4731, allocations: 35.97 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4731, allocations: 4 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4732, allocations: 19.91 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4732, allocations: 7.938 kB / 1.027 GB, free: 8.434 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 8.452e-05/0.4733, allocations: 125.8 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.4734, allocations: 23.7 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.4734, allocations: 29.84 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4734, allocations: 3.938 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.4734, allocations: 0 / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4735, allocations: 3.984 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.4737, allocations: 257.5 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4737, allocations: 0 / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.4739, allocations: 35.95 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4739, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4739, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4739, allocations: 4 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4739, allocations: 4 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.4744, allocations: 315 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.4745, allocations: 108.8 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.4745, allocations: 4 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.4747, allocations: 15.98 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4748, allocations: 15.98 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.4748, allocations: 3.938 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001084/0.4749, allocations: 160.4 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4749, allocations: 0 / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002403/0.4751, allocations: 36 kB / 1.028 GB, free: 7.223 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.0007231/0.4759, allocations: 0.8488 MB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.4763, allocations: 183.9 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4763, allocations: 0 / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.4766, allocations: 83.88 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4769, allocations: 36.58 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.4795, allocations: 2.244 MB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.4797, allocations: 0.743 MB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.4798, allocations: 44.61 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.4799, allocations: 51.41 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4799, allocations: 0 / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9115/1.391, allocations: 3.705 MB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/8.72, allocations: 4.656 kB / 1.036 GB, free: 15.3 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