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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001114/0.001114, allocations: 108 kB / 15.61 MB, free: 152 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.001042/0.001042, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.295/1.295, 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.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 65.22 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2309, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002794/0.2337, allocations: 1.924 MB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.237, allocations: 3.455 MB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.2371, allocations: 4 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.2373, allocations: 55.61 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.2377, allocations: 131.3 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.158e-05/0.2378, allocations: 23.91 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.238, allocations: 179.2 kB / 1.059 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.2381, allocations: 25.67 kB / 1.059 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2382, allocations: 95.56 kB / 1.059 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2384, allocations: 79.67 kB / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.2384, allocations: 8 kB / 1.059 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.2385, allocations: 35.92 kB / 1.059 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.2385, allocations: 35.84 kB / 1.059 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.2386, allocations: 83.47 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.2388, allocations: 167.3 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2388, allocations: 0 / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2388, allocations: 0 / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.2388, allocations: 0 / 1.059 GB, free: 2 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.0008164/0.2397, allocations: 0.5062 MB / 1.06 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2397, allocations: 8.625 kB / 1.06 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.2398, allocations: 38.75 kB / 1.06 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.2398, allocations: 20.66 kB / 1.06 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.2401, allocations: 246.8 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.2401, allocations: 8.312 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.2401, allocations: 4.375 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.2405, allocations: 149.5 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2405, allocations: 0 / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2405, allocations: 0 / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.2406, allocations: 11.98 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.241, allocations: 143.9 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.2416, allocations: 452.5 kB / 1.061 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.2421, allocations: 178.4 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.2423, allocations: 104.8 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2424, allocations: 0 / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2424, allocations: 34.5 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.2424, allocations: 0 / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008115/0.2432, allocations: 304.7 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.2433, allocations: 55.41 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2434, allocations: 213 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2435, allocations: 29.7 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.2435, allocations: 124 kB / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.2436, allocations: 43.36 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.2437, allocations: 29.7 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.2438, allocations: 334.8 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.244, allocations: 71.94 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.2442, allocations: 83.92 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.2447, allocations: 156.8 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2447, allocations: 0 / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005241/0.2452, allocations: 221.3 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2452, allocations: 8 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2452, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2453, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.2455, allocations: 35.95 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2455, allocations: 7.938 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2457, allocations: 23.83 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2457, allocations: 7.938 kB / 1.063 GB, free: 14.18 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.668e-05/0.2458, allocations: 131.3 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.2459, allocations: 15.81 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.2459, allocations: 29.83 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2459, allocations: 0 / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2459, allocations: 8 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.246, allocations: 0 / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.2462, allocations: 269.4 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2462, allocations: 0 / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.2465, allocations: 35.95 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2465, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2465, allocations: 4 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2465, allocations: 0 / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2465, allocations: 0 / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.2471, allocations: 322.7 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.2472, allocations: 116.7 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2472, allocations: 4 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.2474, allocations: 15.98 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.2475, allocations: 19.91 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2475, allocations: 4 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001293/0.2476, allocations: 156.4 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2476, allocations: 0 / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002693/0.2479, allocations: 43.98 kB / 1.064 GB, free: 12.93 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.0008162/0.2487, allocations: 0.8528 MB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.2492, allocations: 195.8 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2492, allocations: 0 / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.2495, allocations: 83.94 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.2499, allocations: 36.34 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.2527, allocations: 2.313 MB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.253, allocations: 0.7314 MB / 1.068 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000162/0.2532, allocations: 52.58 kB / 1.068 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.2533, allocations: 51.41 kB / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2533, allocations: 0 / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2083/0.4615, allocations: 3.854 MB / 1.072 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.757, allocations: 7.797 kB / 1.072 GB, free: 4.781 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