Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_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.007625/0.007625, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001909/0.001909, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.23 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2184, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002654/0.2211, allocations: 1.923 MB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.2245, allocations: 3.439 MB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.2246, allocations: 4 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.2249, allocations: 51.61 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.2253, allocations: 131.9 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.189e-05/0.2254, allocations: 31.89 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.2256, allocations: 171.2 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.2257, allocations: 37.66 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2258, allocations: 83.56 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.226, allocations: 83.67 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.226, allocations: 8 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.2261, allocations: 31.92 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.2262, allocations: 39.84 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.2263, allocations: 91.45 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2265, allocations: 167.6 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2265, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2265, allocations: 3.938 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.2265, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 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.0008223/0.2273, allocations: 0.5062 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2274, allocations: 12.03 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.2274, allocations: 34.75 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.2275, allocations: 20.66 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2278, allocations: 246.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2278, allocations: 4.375 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.2278, allocations: 4.375 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2282, allocations: 145.5 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2282, allocations: 3.938 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2282, allocations: 3.984 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.2282, allocations: 11.98 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.2287, allocations: 143.9 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.2293, allocations: 456.4 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.2297, allocations: 166.5 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.23, allocations: 110.2 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.2301, allocations: 7.984 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2301, allocations: 30.56 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2301, allocations: 0 / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0008142/0.2309, allocations: 297.6 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.231, allocations: 55.41 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2311, allocations: 213 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2312, allocations: 29.64 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.2312, allocations: 124.1 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.2313, allocations: 39.36 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.2313, allocations: 37.7 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2314, allocations: 330.8 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.2317, allocations: 71.94 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2319, allocations: 78.05 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.2324, allocations: 160.8 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2324, allocations: 3.938 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005272/0.2329, allocations: 228.5 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2329, allocations: 5.562 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2329, allocations: 0 / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.233, allocations: 0 / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.2332, allocations: 35.95 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2332, allocations: 4 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2334, allocations: 19.83 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.2334, allocations: 7.938 kB / 1.097 GB, free: 7.891 MB / 0.8575 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.000101/0.2335, allocations: 137.8 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2336, allocations: 15.81 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.2336, allocations: 25.83 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2337, allocations: 0 / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2337, allocations: 4 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2337, allocations: 0 / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.2339, allocations: 269.4 kB / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.234, allocations: 0 / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.2342, allocations: 39.95 kB / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2342, allocations: 0 / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2342, allocations: 0 / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2342, allocations: 0 / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2342, allocations: 7.938 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.2348, allocations: 327.1 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.2349, allocations: 108.8 kB / 1.098 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.2349, allocations: 4 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2351, allocations: 15.97 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.2352, allocations: 7.984 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2352, allocations: 8 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001262/0.2354, allocations: 168.3 kB / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2354, allocations: 0 / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002681/0.2356, allocations: 40 kB / 1.098 GB, free: 6.641 MB / 0.8575 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.0008228/0.2365, allocations: 0.8489 MB / 1.099 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.237, allocations: 175.9 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.237, allocations: 3.938 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.2373, allocations: 95.19 kB / 1.099 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2376, allocations: 26.31 kB / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.2406, allocations: 2.317 MB / 1.102 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.2409, allocations: 0.7311 MB / 1.102 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.2411, allocations: 44.61 kB / 1.102 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.2412, allocations: 59.41 kB / 1.102 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.2412, allocations: 0 / 1.102 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.786/3.027, allocations: 3.917 MB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.547/12.57, allocations: 9.281 kB / 1.106 GB, free: 14.43 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches