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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001308/0.001309, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001279/0.001279, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.75 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2376, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003046/0.2407, allocations: 1.977 MB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.2444, allocations: 3.431 MB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.2445, allocations: 0 / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.2447, allocations: 39.81 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.2451, allocations: 119.4 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.915e-05/0.2452, allocations: 23.97 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.2454, allocations: 183.2 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.2455, allocations: 25.67 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.2457, allocations: 79.64 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2459, allocations: 87.55 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.2459, allocations: 8 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.246, allocations: 27.97 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.2461, allocations: 35.78 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.2462, allocations: 75.53 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2464, allocations: 155.4 kB / 1.058 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2464, allocations: 4 kB / 1.058 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2464, allocations: 8 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2464, allocations: 0 / 1.058 GB, free: 1.871 MB / 0.8106 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.0008503/0.2472, allocations: 0.4984 MB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2473, allocations: 11.97 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.2474, allocations: 42.73 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.2474, allocations: 20.66 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.2477, allocations: 254.8 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2478, allocations: 8.359 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2478, allocations: 4.375 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.2481, allocations: 146.9 kB / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2481, allocations: 0 / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2482, allocations: 3.938 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2482, allocations: 8 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.2486, allocations: 147.8 kB / 1.059 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.2493, allocations: 452.5 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.2497, allocations: 166.5 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.25, allocations: 112.8 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.25, allocations: 3.984 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.25, allocations: 38.5 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2501, allocations: 0 / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008072/0.2509, allocations: 292.2 kB / 1.06 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.2509, allocations: 55.41 kB / 1.06 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.2511, allocations: 213 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2511, allocations: 29.7 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.2512, allocations: 124.1 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.2513, allocations: 39.36 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.2513, allocations: 29.7 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2515, allocations: 342.8 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2517, allocations: 76.12 kB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2519, allocations: 75.94 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.2524, allocations: 168.7 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2524, allocations: 0 / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005118/0.2529, allocations: 213 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2529, allocations: 12 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2529, allocations: 0 / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.2529, allocations: 0 / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.2532, allocations: 39.91 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2532, allocations: 0 / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.2534, allocations: 23.83 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.2534, allocations: 11.92 kB / 1.062 GB, free: 14.04 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.0001063/0.2535, allocations: 125.8 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.2536, allocations: 19.81 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.2536, allocations: 25.83 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2536, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2536, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2537, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.2539, allocations: 273.4 kB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2539, allocations: 0 / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.2542, allocations: 35.91 kB / 1.062 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2542, allocations: 8 kB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2542, allocations: 3.984 kB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2542, allocations: 0 / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2542, allocations: 0 / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.2548, allocations: 323.1 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.2549, allocations: 116.7 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.255, allocations: 4 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.2552, allocations: 11.98 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.2552, allocations: 15.97 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2552, allocations: 7.984 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2554, allocations: 156.4 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2554, allocations: 0 / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002736/0.2556, allocations: 40 kB / 1.063 GB, free: 12.8 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.0008562/0.2565, allocations: 0.8528 MB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.257, allocations: 179.7 kB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.257, allocations: 0 / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.2573, allocations: 99.86 kB / 1.064 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2577, allocations: 33.09 kB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.2608, allocations: 2.347 MB / 1.066 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.2611, allocations: 0.7238 MB / 1.067 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000184/0.2612, allocations: 52.58 kB / 1.067 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.2613, allocations: 51.41 kB / 1.067 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2614, allocations: 0 / 1.067 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/0.3962, allocations: 3.604 MB / 1.071 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.3964, allocations: 220.8 kB / 1.071 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.158, allocations: 4.391 kB / 1.071 GB, free: 4.66 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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