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.01081/0.01081, allocations: 99 kB / 15.73 MB, free: 6.008 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.002723/0.002724, allocations: 196.3 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.316/2.316, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.7 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2424, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003342/0.2458, allocations: 2.147 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004645/0.2505, allocations: 3.783 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2507, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.251, allocations: 59.55 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.2514, allocations: 127.1 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.2519, allocations: 147.6 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.2523, allocations: 303 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2524, allocations: 68.58 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.2527, allocations: 139.5 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.2529, allocations: 139.4 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.2529, allocations: 23.98 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.2532, allocations: 131.8 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.2533, allocations: 59.77 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.2534, allocations: 127.2 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.2538, allocations: 342.6 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2539, allocations: 4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2539, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.2539, allocations: 0 / 1.095 GB, free: 10.34 MB / 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.00126/0.2551, allocations: 0.6421 MB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2552, allocations: 12.03 kB / 1.096 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2552, allocations: 42.67 kB / 1.096 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.2563, allocations: 180.5 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.257, allocations: 320.5 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.257, allocations: 16.31 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.257, allocations: 4 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.2577, allocations: 234.5 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2578, allocations: 0 / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.2578, allocations: 0 / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2578, allocations: 0 / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2589, allocations: 287.7 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2602, allocations: 0.5707 MB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.2608, allocations: 170.4 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.2613, allocations: 156.7 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008616/0.2622, allocations: 0.5454 MB / 1.098 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2622, allocations: 34.56 kB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.2622, allocations: 0 / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.001813/0.2641, allocations: 493.3 kB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.2641, allocations: 51.41 kB / 1.098 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.2644, allocations: 268.5 kB / 1.099 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.2644, allocations: 29.7 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2645, allocations: 152 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.2646, allocations: 47.62 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.2647, allocations: 41.69 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2648, allocations: 334.8 kB / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.2654, allocations: 147.9 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.2659, allocations: 149.2 kB / 1.1 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.267, allocations: 295.1 kB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.267, allocations: 3.984 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001244/0.2682, allocations: 373.1 kB / 1.1 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2683, allocations: 4 kB / 1.1 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2683, allocations: 0 / 1.1 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2683, allocations: 3.984 kB / 1.1 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.2688, allocations: 71.92 kB / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2688, allocations: 0 / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.2691, allocations: 51.77 kB / 1.1 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2692, allocations: 4 kB / 1.1 GB, free: 4.352 MB / 0.8575 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.0001323/0.2693, allocations: 139.7 kB / 1.101 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.2694, allocations: 27.81 kB / 1.101 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.2707, allocations: 367.3 kB / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2707, allocations: 4 kB / 1.101 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2707, allocations: 3.938 kB / 1.101 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2707, allocations: 11.92 kB / 1.101 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.271, allocations: 305.5 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2711, allocations: 3.938 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.2715, allocations: 55.92 kB / 1.101 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2715, allocations: 4 kB / 1.101 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2715, allocations: 7.984 kB / 1.101 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2715, allocations: 0 / 1.101 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2715, allocations: 0 / 1.101 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2727, allocations: 448.4 kB / 1.102 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.2729, allocations: 132.8 kB / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.2729, allocations: 0 / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.2733, allocations: 39.89 kB / 1.102 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.2734, allocations: 23.91 kB / 1.102 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2734, allocations: 7.984 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001678/0.2736, allocations: 187.1 kB / 1.102 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2736, allocations: 0 / 1.102 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003469/0.274, allocations: 67.88 kB / 1.102 GB, free: 2.453 MB / 0.8575 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.001578/0.2755, allocations: 1.011 MB / 1.103 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.2767, allocations: 319.7 kB / 1.103 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2767, allocations: 0 / 1.103 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.2773, allocations: 167.8 kB / 1.104 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.2777, allocations: 36.56 kB / 1.104 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.2829, allocations: 2.894 MB / 1.106 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.2833, allocations: 0.7396 MB / 1.107 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002397/0.2835, allocations: 49.38 kB / 1.107 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.2837, allocations: 75.41 kB / 1.107 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.2837, allocations: 3.938 kB / 1.107 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3045, allocations: 5.832 MB / 1.113 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.149, allocations: 16.34 kB / 1.113 GB, free: 7.367 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