Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.004955/0.004955, allocations: 100.1 kB / 15.73 MB, free: 6.066 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.001543/0.001543, allocations: 196.4 kB / 16.68 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.731/2.731, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.83 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6616, allocations: 159.1 MB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00331/0.6649, allocations: 2.133 MB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004765/0.6697, allocations: 3.794 MB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.6698, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.6701, allocations: 66.16 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.6705, allocations: 123.2 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.6709, allocations: 147.6 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.6713, allocations: 318.9 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.6714, allocations: 52.7 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.6717, allocations: 139.5 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.6719, allocations: 147.3 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.6719, allocations: 20 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.6722, allocations: 131.8 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.6723, allocations: 59.75 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.6725, allocations: 123.3 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.6729, allocations: 347.5 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6729, allocations: 0 / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6729, allocations: 4 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.673, allocations: 0 / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001286/0.6742, allocations: 0.6383 MB / 1.228 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6743, allocations: 12.03 kB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.6744, allocations: 46.73 kB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6754, allocations: 160.6 kB / 1.228 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.6761, allocations: 336.4 kB / 1.229 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.6762, allocations: 12.31 kB / 1.229 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.6762, allocations: 8 kB / 1.229 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.677, allocations: 227.3 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.677, allocations: 0 / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.677, allocations: 0 / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.677, allocations: 4 kB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.6781, allocations: 283.6 kB / 1.229 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.6795, allocations: 0.5824 MB / 1.23 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.6801, allocations: 166.4 kB / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.6807, allocations: 164.7 kB / 1.23 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/0.6817, allocations: 0.5493 MB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.6817, allocations: 30.56 kB / 1.231 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.6817, allocations: 0 / 1.231 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.001859/0.6836, allocations: 482.2 kB / 1.231 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.6836, allocations: 51.66 kB / 1.231 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.6839, allocations: 280.3 kB / 1.231 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.684, allocations: 29.7 kB / 1.231 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6841, allocations: 148 kB / 1.232 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.6841, allocations: 47.62 kB / 1.232 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.6843, allocations: 45.69 kB / 1.232 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6844, allocations: 334.8 kB / 1.232 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.685, allocations: 143.9 kB / 1.232 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.6856, allocations: 151.9 kB / 1.232 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6867, allocations: 298.3 kB / 1.233 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6867, allocations: 0 / 1.233 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00127/0.688, allocations: 375.2 kB / 1.233 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.688, allocations: 4 kB / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.688, allocations: 0 / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6881, allocations: 7.875 kB / 1.233 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.6885, allocations: 67.92 kB / 1.233 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.6886, allocations: 0 / 1.233 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.6889, allocations: 55.77 kB / 1.233 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.689, allocations: 8 kB / 1.233 GB, free: 4.383 MB / 0.9512 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 (17): * Single equations (assignments): 17 * 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.000145/0.6891, allocations: 129.8 kB / 1.233 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.6892, allocations: 23.86 kB / 1.233 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.6905, allocations: 377.1 kB / 1.234 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6905, allocations: 4 kB / 1.234 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6905, allocations: 0 / 1.234 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6906, allocations: 7.922 kB / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.6909, allocations: 297.4 kB / 1.234 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6909, allocations: 0 / 1.234 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.6914, allocations: 63.92 kB / 1.234 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6914, allocations: 7.938 kB / 1.234 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.6914, allocations: 3.984 kB / 1.234 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6914, allocations: 0 / 1.234 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6914, allocations: 0 / 1.234 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.6927, allocations: 455 kB / 1.234 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.6928, allocations: 124.9 kB / 1.235 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.6929, allocations: 0 / 1.235 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.6933, allocations: 35.95 kB / 1.235 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.6934, allocations: 23.91 kB / 1.235 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.6934, allocations: 3.984 kB / 1.235 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001852/0.6936, allocations: 191.1 kB / 1.235 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6936, allocations: 0 / 1.235 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003683/0.694, allocations: 71.83 kB / 1.235 GB, free: 2.504 MB / 0.9512 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.001713/0.6957, allocations: 1.016 MB / 1.236 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.6969, allocations: 323.7 kB / 1.236 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6969, allocations: 0 / 1.236 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.6975, allocations: 167.8 kB / 1.236 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.698, allocations: 36.58 kB / 1.236 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.7036, allocations: 2.883 MB / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.704, allocations: 0.7435 MB / 1.24 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002439/0.7043, allocations: 53.38 kB / 1.24 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.7045, allocations: 75.39 kB / 1.24 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.7045, allocations: 0 / 1.24 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.7322, allocations: 5.832 MB / 1.246 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.91, allocations: 21.42 kB / 1.246 GB, free: 7.402 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches