Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.008464/0.008464, allocations: 99.86 kB / 15.73 MB, free: 6.062 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.00161/0.00161, allocations: 198.1 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.347/2.347, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 66.58 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2485, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003119/0.2517, allocations: 1.899 MB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004027/0.2557, allocations: 3.454 MB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2559, allocations: 0 / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.2562, allocations: 47.67 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.2567, allocations: 135.9 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.749e-05/0.2568, allocations: 23.91 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.2571, allocations: 167.2 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2572, allocations: 29.67 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2574, allocations: 83.62 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.2575, allocations: 83.61 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.2576, allocations: 8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.2577, allocations: 31.92 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.2577, allocations: 35.84 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.2578, allocations: 79.53 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.258, allocations: 167.5 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2581, allocations: 0 / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2581, allocations: 0 / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2581, allocations: 0 / 1.094 GB, free: 11.74 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008097/0.2589, allocations: 0.4945 MB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2589, allocations: 12.03 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.259, allocations: 38.75 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.259, allocations: 20.66 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.2594, allocations: 246.8 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.2594, allocations: 4.375 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.2594, allocations: 4.375 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.2598, allocations: 153.3 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2598, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2598, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.2598, allocations: 12 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.2603, allocations: 131.9 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.261, allocations: 444.5 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.2614, allocations: 162.4 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.2617, allocations: 108.8 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2617, allocations: 4 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2617, allocations: 30.56 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2617, allocations: 0 / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0008334/0.2626, allocations: 285.3 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2626, allocations: 55.41 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.2628, allocations: 209 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2628, allocations: 25.7 kB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.2629, allocations: 128 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.2629, allocations: 47.34 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.263, allocations: 33.7 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2631, allocations: 330.8 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.2633, allocations: 68.19 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2636, allocations: 75.94 kB / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.264, allocations: 159.7 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.264, allocations: 4 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005237/0.2646, allocations: 209.3 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2646, allocations: 4 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2646, allocations: 0 / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2646, allocations: 4 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2649, allocations: 31.97 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2649, allocations: 0 / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.265, allocations: 19.83 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2651, allocations: 15.92 kB / 1.097 GB, free: 8.004 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 (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.0001035/0.2652, allocations: 129.8 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.2652, allocations: 15.81 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.2653, allocations: 29.77 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2653, allocations: 0 / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2653, allocations: 4 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2653, allocations: 0 / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2656, allocations: 261.4 kB / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2656, allocations: 0 / 1.097 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.2658, allocations: 35.97 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2658, allocations: 0 / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2658, allocations: 7.984 kB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2658, allocations: 0 / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2658, allocations: 0 / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.2664, allocations: 315.1 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/0.2665, allocations: 108.9 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.2666, allocations: 8 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.2668, allocations: 11.98 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.2668, allocations: 11.98 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2668, allocations: 4 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001273/0.267, allocations: 160.4 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3e-07/0.267, allocations: 0 / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002787/0.2673, allocations: 43.84 kB / 1.098 GB, free: 6.785 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.0008706/0.2681, allocations: 0.8429 MB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.2687, allocations: 167.9 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2687, allocations: 3.938 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.269, allocations: 95.86 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2694, allocations: 28.53 kB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.2724, allocations: 2.255 MB / 1.101 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2727, allocations: 0.7236 MB / 1.102 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.2729, allocations: 52.58 kB / 1.102 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.844e-05/0.273, allocations: 51.41 kB / 1.102 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of SimCode: time 1.513e-06/0.273, allocations: 4 kB / 1.102 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.2933, allocations: 3.755 MB / 1.106 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/7.672, allocations: 10.08 kB / 1.106 GB, free: 14.82 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches