Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_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.001456/0.001456, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.533/2.533, allocations: 469.8 MB / 0.7424 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 61.64 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2366, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00311/0.2398, allocations: 1.93 MB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003775/0.2436, allocations: 3.439 MB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.609e-05/0.2437, allocations: 4 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.2439, allocations: 55.61 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.2443, allocations: 127.3 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.647e-05/0.2444, allocations: 23.97 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.2446, allocations: 175.2 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.2447, allocations: 33.67 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.2449, allocations: 91.56 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.245, allocations: 79.67 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2451, allocations: 12 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.2452, allocations: 31.86 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.2452, allocations: 43.89 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.255e-05/0.2453, allocations: 75.48 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.2455, allocations: 163.4 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2455, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2455, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2455, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 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.0008293/0.2464, allocations: 0.5101 MB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2464, allocations: 8.031 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.2465, allocations: 34.75 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.2465, allocations: 32.58 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.2469, allocations: 246.8 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.2469, allocations: 384 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2469, allocations: 12.36 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.2472, allocations: 141.5 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2472, allocations: 4 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2473, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.2473, allocations: 15.92 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.2477, allocations: 139.9 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2484, allocations: 452.5 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.2488, allocations: 174.4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.2491, allocations: 109.8 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.2491, allocations: 3.984 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2491, allocations: 30.56 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.2491, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0007954/0.2499, allocations: 298.1 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.25, allocations: 51.41 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.2502, allocations: 217 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2502, allocations: 29.7 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.2503, allocations: 128 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2503, allocations: 43.36 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.2504, allocations: 33.64 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2505, allocations: 330.8 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.2507, allocations: 75.92 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.251, allocations: 77.06 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.2514, allocations: 161.8 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2514, allocations: 3.984 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005206/0.2519, allocations: 221.9 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.252, allocations: 4 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.252, allocations: 3.984 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.252, allocations: 4 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2522, allocations: 39.84 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2523, allocations: 4 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2524, allocations: 15.92 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2524, allocations: 15.92 kB / 1.074 GB, free: 4.031 MB / 0.8262 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.0001047/0.2525, allocations: 121.8 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.2526, allocations: 15.81 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.2526, allocations: 25.83 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2527, allocations: 4 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2527, allocations: 0 / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2527, allocations: 4 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.2529, allocations: 273.4 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.253, allocations: 0 / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.2532, allocations: 35.91 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2532, allocations: 0 / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2532, allocations: 4 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.2532, allocations: 3.984 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2532, allocations: 0 / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.2538, allocations: 320 kB / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.2539, allocations: 108.8 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.2539, allocations: 11.98 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2541, allocations: 11.98 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.2542, allocations: 19.98 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2542, allocations: 4 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00013/0.2543, allocations: 164.3 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2543, allocations: 0 / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002504/0.2546, allocations: 36 kB / 1.075 GB, free: 2.793 MB / 0.8262 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.0008616/0.2554, allocations: 0.8544 MB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.256, allocations: 195.8 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.256, allocations: 0 / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.2563, allocations: 96.61 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2566, allocations: 32.39 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.2596, allocations: 2.301 MB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.2599, allocations: 0.7275 MB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000157/0.2601, allocations: 52.53 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.2602, allocations: 51.42 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.2602, allocations: 0 / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.078/2.338, allocations: 3.856 MB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/16.3, allocations: 8.797 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches