Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ASHRAESolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_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.007311/0.007311, allocations: 101 kB / 15.73 MB, free: 6.059 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.00205/0.00205, allocations: 195 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.414/1.414, 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 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6902/0.6921, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003473/0.6956, allocations: 2.145 MB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.7002, allocations: 3.794 MB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.7003, allocations: 3.938 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.7006, allocations: 62.22 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.7009, allocations: 127.1 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.7013, allocations: 151.6 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.7017, allocations: 310.9 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.7018, allocations: 60.56 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.702, allocations: 139.5 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.7022, allocations: 135.4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.7023, allocations: 20 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.7025, allocations: 139.8 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.7026, allocations: 59.69 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.7028, allocations: 123.3 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.7032, allocations: 347.5 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7032, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7032, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7032, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 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.001257/0.7045, allocations: 0.6344 MB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.7045, allocations: 16.86 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.7046, allocations: 42.73 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/0.7056, allocations: 176.5 kB / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007184/0.7063, allocations: 320.5 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.7063, allocations: 12.31 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.7064, allocations: 16 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.7071, allocations: 223.3 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7071, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.7071, allocations: 4 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.7071, allocations: 8 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.7082, allocations: 279.7 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.7095, allocations: 0.5785 MB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.71, allocations: 170.4 kB / 1.176 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.7106, allocations: 152.7 kB / 1.176 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008625/0.7114, allocations: 0.5454 MB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.7115, allocations: 34.56 kB / 1.177 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7115, allocations: 0 / 1.177 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.001718/0.7132, allocations: 490.5 kB / 1.177 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.7133, allocations: 51.41 kB / 1.177 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.7135, allocations: 268.5 kB / 1.177 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.7136, allocations: 29.7 kB / 1.177 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.7137, allocations: 156 kB / 1.178 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.7137, allocations: 43.62 kB / 1.178 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.7138, allocations: 49.53 kB / 1.178 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.714, allocations: 334.8 kB / 1.178 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.7145, allocations: 147.9 kB / 1.178 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.7151, allocations: 151.9 kB / 1.178 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7161, allocations: 295.4 kB / 1.179 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7161, allocations: 0 / 1.179 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001194/0.7173, allocations: 377.1 kB / 1.179 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.7174, allocations: 4 kB / 1.179 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7174, allocations: 0 / 1.179 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7174, allocations: 4 kB / 1.179 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.7178, allocations: 63.92 kB / 1.179 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.7179, allocations: 0 / 1.179 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.7182, allocations: 55.77 kB / 1.179 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.7182, allocations: 7.938 kB / 1.179 GB, free: 6.164 MB / 0.9044 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.0001364/0.7184, allocations: 133.8 kB / 1.179 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.7184, allocations: 23.86 kB / 1.179 GB, free: 6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.7197, allocations: 380.7 kB / 1.18 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7197, allocations: 0 / 1.18 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7197, allocations: 11.94 kB / 1.18 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7197, allocations: 7.922 kB / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.7201, allocations: 301.4 kB / 1.18 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7201, allocations: 0 / 1.18 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.7205, allocations: 59.92 kB / 1.18 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7205, allocations: 0 / 1.18 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.7205, allocations: 3.984 kB / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7205, allocations: 0 / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7205, allocations: 4 kB / 1.18 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.7217, allocations: 456 kB / 1.18 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.7219, allocations: 124.9 kB / 1.181 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.7219, allocations: 0 / 1.181 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.7223, allocations: 39.95 kB / 1.181 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.7224, allocations: 27.89 kB / 1.181 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.7224, allocations: 3.984 kB / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001807/0.7226, allocations: 187.1 kB / 1.181 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7226, allocations: 0 / 1.181 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003373/0.7229, allocations: 75.83 kB / 1.181 GB, free: 4.262 MB / 0.9044 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.001611/0.7245, allocations: 1.002 MB / 1.182 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.7257, allocations: 319.7 kB / 1.182 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7257, allocations: 0 / 1.182 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.7263, allocations: 171.8 kB / 1.182 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.7267, allocations: 36.95 kB / 1.182 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/0.732, allocations: 2.891 MB / 1.185 GB, free: 15.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.7324, allocations: 0.7513 MB / 1.186 GB, free: 14.97 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.7326, allocations: 45.38 kB / 1.186 GB, free: 14.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.7328, allocations: 79.39 kB / 1.186 GB, free: 14.85 MB / 0.92 GB Notification: Performance of SimCode: time 6.82e-07/0.7328, allocations: 0 / 1.186 GB, free: 14.85 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.7603, allocations: 5.825 MB / 1.192 GB, free: 9.188 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/9.005, allocations: 14.92 kB / 1.192 GB, free: 9.18 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches