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.0009151/0.0009151, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005719/0.005719, allocations: 169.4 kB / 16.26 MB, free: 6.648 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 12.25 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2364, allocations: 159.6 MB / 1.059 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001763/0.2382, allocations: 1.635 MB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.2415, allocations: 3.373 MB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.2416, allocations: 3.938 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.2418, allocations: 39.81 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.2422, allocations: 123.4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.585e-05/0.2423, allocations: 23.97 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.2425, allocations: 183.2 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.2426, allocations: 29.67 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2427, allocations: 75.64 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.2429, allocations: 75.61 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2429, allocations: 8 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.243, allocations: 27.98 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.243, allocations: 35.83 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.705e-05/0.2431, allocations: 109.1 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2433, allocations: 155.3 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2433, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2433, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2433, allocations: 0 / 1.065 GB, free: 14.9 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.0007377/0.2441, allocations: 494.6 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2441, allocations: 11.97 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.2442, allocations: 46.72 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2442, allocations: 20.66 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2445, allocations: 258.7 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2445, allocations: 8.312 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2445, allocations: 4.375 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2449, allocations: 149.5 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2449, allocations: 4 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2449, allocations: 7.938 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.2449, allocations: 12 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.2454, allocations: 162 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.246, allocations: 460.5 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.2464, allocations: 182.5 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2466, allocations: 112.8 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.2467, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2467, allocations: 38.56 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 9.21e-07/0.2467, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0007924/0.2475, allocations: 317.3 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.2475, allocations: 59.39 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2477, allocations: 213 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2477, allocations: 25.7 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.2478, allocations: 120.1 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.2479, allocations: 51.34 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.2479, allocations: 13.72 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.248, allocations: 342.8 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.2482, allocations: 75.94 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.2484, allocations: 95.05 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.2489, allocations: 180.8 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.2489, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005078/0.2494, allocations: 229.3 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2494, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2495, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2495, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2497, allocations: 47.95 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2497, allocations: 0 / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.2499, allocations: 27.77 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2499, allocations: 7.938 kB / 1.068 GB, free: 10.97 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 9.751e-05/0.25, allocations: 133.8 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.2501, allocations: 19.81 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.2501, allocations: 29.83 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2501, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2501, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2501, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.2504, allocations: 261.4 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2504, allocations: 0 / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.2506, allocations: 43.95 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2506, allocations: 4 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2506, allocations: 4 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2506, allocations: 0 / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2506, allocations: 0 / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.2512, allocations: 346.8 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.2513, allocations: 116.8 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.2513, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2515, allocations: 23.97 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.2516, allocations: 15.97 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2516, allocations: 8 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001165/0.2517, allocations: 164.4 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2517, allocations: 0 / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000255/0.252, allocations: 36 kB / 1.069 GB, free: 9.695 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.0007929/0.2528, allocations: 0.8723 MB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.2533, allocations: 191.9 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2533, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.2535, allocations: 95.88 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.2539, allocations: 40.34 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.2567, allocations: 2.423 MB / 1.073 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2569, allocations: 0.7238 MB / 1.074 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.2571, allocations: 52.58 kB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.2572, allocations: 55.91 kB / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.2572, allocations: 0 / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.367/1.624, allocations: 3.517 MB / 1.077 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/1.625, allocations: 224 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/3.271, allocations: 0 / 1.077 GB, free: 1.547 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