Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_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.005094/0.005094, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001516/0.001516, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.397/1.397, 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 12.0.0-master/package.mo): time 2.811/2.811, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 60.56 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2776, allocations: 162.2 MB / 1.241 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00298/0.2807, allocations: 1.872 MB / 1.243 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.285, allocations: 3.606 MB / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.2851, allocations: 0 / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007099/0.2858, allocations: 191.4 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.286, allocations: 71.55 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.992e-05/0.286, allocations: 19.97 kB / 1.247 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.2865, allocations: 271.1 kB / 1.247 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.2866, allocations: 21.56 kB / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2867, allocations: 87.62 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2869, allocations: 87.55 kB / 1.248 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.287, allocations: 8 kB / 1.248 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.2871, allocations: 27.92 kB / 1.248 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.2871, allocations: 55.81 kB / 1.248 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.2872, allocations: 83.47 kB / 1.248 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.2875, allocations: 195 kB / 1.248 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2875, allocations: 4 kB / 1.248 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2875, allocations: 0 / 1.248 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.2875, allocations: 0 / 1.248 GB, free: 2.703 MB / 0.9669 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.0009136/0.2885, allocations: 0.5293 MB / 1.248 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2885, allocations: 8.031 kB / 1.248 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.2886, allocations: 46.67 kB / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.2886, allocations: 24.8 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.289, allocations: 251.8 kB / 1.249 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.289, allocations: 16.3 kB / 1.249 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.289, allocations: 384 / 1.249 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.2894, allocations: 145.5 kB / 1.249 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2894, allocations: 0 / 1.249 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2895, allocations: 11.94 kB / 1.249 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.2895, allocations: 8 kB / 1.249 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.29, allocations: 139.9 kB / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.2907, allocations: 460.5 kB / 1.249 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.2912, allocations: 170.4 kB / 1.25 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.2915, allocations: 112.8 kB / 1.25 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2915, allocations: 0 / 1.25 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2915, allocations: 30.56 kB / 1.25 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.2915, allocations: 0 / 1.25 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0009063/0.2925, allocations: 297.6 kB / 1.25 GB, free: 316 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.2925, allocations: 55.41 kB / 1.25 GB, free: 248 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.2928, allocations: 242.8 kB / 1.25 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.2928, allocations: 29.7 kB / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.2929, allocations: 140 kB / 1.25 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.293, allocations: 47.62 kB / 1.251 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.2931, allocations: 29.7 kB / 1.251 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2932, allocations: 342.8 kB / 1.251 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.2935, allocations: 71.94 kB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2937, allocations: 75.94 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.2942, allocations: 168.5 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2942, allocations: 0 / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005922/0.2948, allocations: 217.4 kB / 1.251 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2949, allocations: 14.12 kB / 1.251 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2949, allocations: 0 / 1.251 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2949, allocations: 4 kB / 1.251 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.2952, allocations: 35.91 kB / 1.251 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2952, allocations: 0 / 1.251 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.2954, allocations: 31.8 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.2954, allocations: 7.938 kB / 1.251 GB, free: 14.78 MB / 0.9825 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.0001276/0.2955, allocations: 137.8 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.2956, allocations: 23.86 kB / 1.252 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.2957, allocations: 29.81 kB / 1.252 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2957, allocations: 4 kB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2957, allocations: 0 / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2957, allocations: 3.984 kB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.296, allocations: 265.5 kB / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.296, allocations: 0 / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.2963, allocations: 35.91 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2963, allocations: 4 kB / 1.252 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2963, allocations: 11.98 kB / 1.252 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2963, allocations: 0 / 1.252 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2963, allocations: 4 kB / 1.252 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.297, allocations: 323.2 kB / 1.252 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.2971, allocations: 120.9 kB / 1.252 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.2971, allocations: 4 kB / 1.252 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2973, allocations: 7.984 kB / 1.252 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.2974, allocations: 15.98 kB / 1.252 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2974, allocations: 3.938 kB / 1.252 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001693/0.2976, allocations: 185.9 kB / 1.253 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2976, allocations: 0 / 1.253 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002846/0.2979, allocations: 40 kB / 1.253 GB, free: 13.48 MB / 0.9825 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.001007/0.2989, allocations: 0.8633 MB / 1.253 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005671/0.2995, allocations: 179.8 kB / 1.254 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2995, allocations: 0 / 1.254 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.2998, allocations: 99.86 kB / 1.254 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.3002, allocations: 52.45 kB / 1.254 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.3037, allocations: 2.408 MB / 1.256 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3041, allocations: 0.7473 MB / 1.257 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.3043, allocations: 53.38 kB / 1.257 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.3044, allocations: 59.41 kB / 1.257 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3044, allocations: 3.938 kB / 1.257 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.3304, allocations: 4.839 MB / 1.262 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.16, allocations: 5.938 kB / 1.262 GB, free: 4.246 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches