Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.007691/0.007691, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.002118/0.002118, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.581/2.581, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 75.81 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6779, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003438/0.6813, allocations: 1.921 MB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004293/0.6857, allocations: 3.459 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.6858, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.6861, allocations: 54.36 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.6866, allocations: 131.2 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.473e-05/0.6867, allocations: 23.97 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.6869, allocations: 183.2 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.687, allocations: 25.67 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.6872, allocations: 87.62 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.6874, allocations: 83.62 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.6874, allocations: 8 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.6875, allocations: 23.98 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.6876, allocations: 51.75 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.6877, allocations: 71.55 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.688, allocations: 176.2 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.688, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/0.688, allocations: 4 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.688, allocations: 0 / 1.172 GB, free: 13.45 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009281/0.6889, allocations: 0.506 MB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.689, allocations: 12.92 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.689, allocations: 42.67 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.6891, allocations: 20.84 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.6894, allocations: 247 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.6895, allocations: 8.375 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.6895, allocations: 8.359 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.6899, allocations: 153.4 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.6899, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.6899, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.69, allocations: 19.94 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.6905, allocations: 143.8 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007139/0.6912, allocations: 452.6 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.6916, allocations: 174.4 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.6919, allocations: 100.8 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.6919, allocations: 4 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.692, allocations: 38.56 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.692, allocations: 0 / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008914/0.6929, allocations: 287.3 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.6929, allocations: 55.41 kB / 1.174 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.6932, allocations: 217 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.6932, allocations: 29.7 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.6933, allocations: 120.1 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.6933, allocations: 51.52 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.6934, allocations: 29.7 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6936, allocations: 334.7 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.6938, allocations: 83.92 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.6941, allocations: 71.94 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.6945, allocations: 166 kB / 1.176 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.6946, allocations: 4 kB / 1.176 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000562/0.6951, allocations: 218.9 kB / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6951, allocations: 4 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6952, allocations: 4 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6952, allocations: 0 / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.6954, allocations: 35.91 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6954, allocations: 0 / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.6956, allocations: 19.98 kB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.6956, allocations: 7.922 kB / 1.176 GB, free: 9.625 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 (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.0001159/0.6958, allocations: 121.8 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.6958, allocations: 27.86 kB / 1.176 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.6959, allocations: 29.83 kB / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6959, allocations: 0 / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6959, allocations: 0 / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6959, allocations: 4 kB / 1.176 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.6962, allocations: 269.3 kB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6962, allocations: 4 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.6965, allocations: 35.91 kB / 1.176 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6965, allocations: 0 / 1.176 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6965, allocations: 8 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6965, allocations: 7.922 kB / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6965, allocations: 0 / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.6971, allocations: 307.3 kB / 1.177 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.6972, allocations: 120.9 kB / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.6973, allocations: 0 / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.6975, allocations: 11.98 kB / 1.177 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.6976, allocations: 11.98 kB / 1.177 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.6976, allocations: 4 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001501/0.6977, allocations: 168.3 kB / 1.177 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6977, allocations: 0 / 1.177 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002883/0.698, allocations: 35.94 kB / 1.177 GB, free: 8.387 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.001018/0.6991, allocations: 0.8657 MB / 1.178 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.6996, allocations: 177.2 kB / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6996, allocations: 0 / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.6999, allocations: 99.86 kB / 1.178 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.7003, allocations: 36.97 kB / 1.178 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.7037, allocations: 2.297 MB / 1.18 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.7041, allocations: 0.739 MB / 1.181 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.7043, allocations: 44.61 kB / 1.181 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.7044, allocations: 47.41 kB / 1.181 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/0.7044, allocations: 0 / 1.181 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.7297, allocations: 3.924 MB / 1.185 GB, free: 196 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.89, allocations: 13.58 kB / 1.185 GB, free: 184 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches