Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_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.005197/0.005197, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001463/0.001463, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.326/1.326, 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 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6678, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002634/0.6705, allocations: 2.147 MB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003554/0.674, allocations: 3.791 MB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.6741, allocations: 1.969 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.6744, allocations: 55.09 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.6747, allocations: 126.6 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.675, allocations: 147.8 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.6754, allocations: 319.4 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.6755, allocations: 56.22 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.6757, allocations: 134.7 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.6759, allocations: 142.8 kB / 1.094 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.676, allocations: 20.91 kB / 1.094 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.6762, allocations: 128.8 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.6763, allocations: 59.27 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.6764, allocations: 123.5 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.6768, allocations: 342.2 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6768, allocations: 4 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6768, allocations: 0 / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6769, allocations: 0.6875 kB / 1.095 GB, free: 248 kB / 0.8575 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.001242/0.6781, allocations: 0.6301 MB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6781, allocations: 13.44 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.6782, allocations: 48.3 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.6792, allocations: 171.4 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/0.68, allocations: 318.3 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6801, allocations: 12.84 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.6801, allocations: 10.75 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.6809, allocations: 227.2 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6809, allocations: 0 / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.6809, allocations: 4.719 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6809, allocations: 2.844 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.682, allocations: 279.1 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.6834, allocations: 0.5786 MB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.684, allocations: 164.8 kB / 1.097 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.6846, allocations: 156 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008679/0.6855, allocations: 0.5505 MB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.6855, allocations: 32.53 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.6855, allocations: 3.938 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001837/0.6874, allocations: 488.3 kB / 1.098 GB, free: 14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6874, allocations: 54.23 kB / 1.098 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.6877, allocations: 270.8 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.6877, allocations: 31.42 kB / 1.099 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.6878, allocations: 152.1 kB / 1.099 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.6879, allocations: 43.7 kB / 1.099 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.688, allocations: 42.34 kB / 1.099 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6881, allocations: 337.9 kB / 1.099 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.6887, allocations: 142.4 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.6893, allocations: 149.6 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.6904, allocations: 295 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6904, allocations: 5.312 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001257/0.6917, allocations: 366.5 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6917, allocations: 5.469 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6917, allocations: 0 / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.6917, allocations: 1.312 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.6922, allocations: 68.52 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.6922, allocations: 4 kB / 1.1 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.6926, allocations: 51.06 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.6927, allocations: 15.19 kB / 1.1 GB, free: 12.92 MB / 0.8731 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.0001386/0.6928, allocations: 128.8 kB / 1.1 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.6929, allocations: 23.88 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.6942, allocations: 381.2 kB / 1.101 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6942, allocations: 2.5 kB / 1.101 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6942, allocations: 4.734 kB / 1.101 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6942, allocations: 4.453 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.6946, allocations: 305.7 kB / 1.101 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6946, allocations: 1.375 kB / 1.101 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.695, allocations: 64.84 kB / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.6951, allocations: 1.875 kB / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.6951, allocations: 4.594 kB / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6951, allocations: 5.062 kB / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6951, allocations: 0 / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.6964, allocations: 451.7 kB / 1.102 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.6965, allocations: 120.4 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.6966, allocations: 5.531 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.697, allocations: 37.89 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.6971, allocations: 19.73 kB / 1.102 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.6971, allocations: 9.766 kB / 1.102 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001788/0.6973, allocations: 187.9 kB / 1.102 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6973, allocations: 0 / 1.102 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000383/0.6977, allocations: 67.47 kB / 1.102 GB, free: 11.91 MB / 0.8731 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.001647/0.6993, allocations: 1.019 MB / 1.103 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.7007, allocations: 316.1 kB / 1.103 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7007, allocations: 0.5 kB / 1.103 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.7013, allocations: 170.9 kB / 1.104 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.7018, allocations: 33.69 kB / 1.104 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.7072, allocations: 2.872 MB / 1.106 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.7075, allocations: 0.7494 MB / 1.107 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.7078, allocations: 51.91 kB / 1.107 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.7079, allocations: 80.16 kB / 1.107 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.708, allocations: 0 / 1.107 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.7315, allocations: 5.82 MB / 1.113 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.314, allocations: 5.312 kB / 1.113 GB, free: 7.848 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches