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.007979/0.007985, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001703/0.001703, allocations: 187 kB / 16.67 MB, free: 5.949 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.72 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2696, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003255/0.2729, allocations: 1.923 MB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004525/0.2775, allocations: 3.439 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2777, allocations: 0 / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.2781, allocations: 55.61 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006235/0.2788, allocations: 135.9 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.2789, allocations: 23.91 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.2792, allocations: 175.2 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2793, allocations: 29.67 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.2796, allocations: 91.56 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2798, allocations: 79.67 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.2798, allocations: 8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.2799, allocations: 39.86 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.28, allocations: 35.89 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.479e-05/0.2801, allocations: 79.48 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.2803, allocations: 171.6 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2803, allocations: 3.938 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2803, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2803, 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.0009288/0.2813, allocations: 0.5023 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2813, allocations: 12.03 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.2814, allocations: 42.73 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.2814, allocations: 20.66 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.2818, allocations: 250.8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.2818, allocations: 384 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.2819, allocations: 8.359 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.2822, allocations: 145.5 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2823, allocations: 3.938 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2823, allocations: 0 / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.2823, allocations: 15.98 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.2828, allocations: 135.9 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.2835, allocations: 464.4 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.2839, allocations: 166.5 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.2842, allocations: 108.8 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2842, allocations: 0 / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2842, allocations: 34.56 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2842, allocations: 0 / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0008144/0.285, allocations: 293.6 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2851, allocations: 55.41 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.2853, allocations: 217 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2853, allocations: 29.7 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.2854, allocations: 120.1 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.2854, allocations: 51.34 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.2855, allocations: 29.7 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2856, allocations: 334.8 kB / 1.097 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.2859, allocations: 71.94 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2861, allocations: 75.92 kB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.2865, allocations: 172.4 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2865, allocations: 0 / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000525/0.2871, allocations: 213.4 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2871, allocations: 4 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2871, allocations: 4 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2871, allocations: 0 / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2874, allocations: 35.95 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2874, allocations: 0 / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.2876, allocations: 23.83 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2876, allocations: 11.94 kB / 1.097 GB, free: 7.879 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.0001011/0.2877, allocations: 133.8 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.2877, allocations: 15.81 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.2878, allocations: 29.83 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2878, allocations: 4 kB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2878, allocations: 0 / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2878, allocations: 0 / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.2881, allocations: 261.4 kB / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2881, allocations: 3.984 kB / 1.098 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.2883, allocations: 35.97 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2884, allocations: 0 / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2884, allocations: 8 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2884, allocations: 0 / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2884, allocations: 3.938 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.289, allocations: 319.1 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2891, allocations: 112.8 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.2891, allocations: 7.984 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2893, allocations: 15.98 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2894, allocations: 7.984 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.2894, allocations: 7.938 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001303/0.2896, allocations: 168.4 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2896, allocations: 0 / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00027/0.2898, allocations: 40 kB / 1.098 GB, free: 6.633 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.0008566/0.2907, allocations: 0.8526 MB / 1.099 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.2912, allocations: 179.8 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2912, allocations: 0 / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.2915, allocations: 87.94 kB / 1.099 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.2919, allocations: 29.97 kB / 1.099 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.2949, allocations: 2.317 MB / 1.102 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2952, allocations: 0.7389 MB / 1.102 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.2954, allocations: 44.59 kB / 1.102 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2955, allocations: 51.41 kB / 1.102 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.2955, allocations: 4 kB / 1.102 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.3152, allocations: 3.982 MB / 1.106 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.027, allocations: 11.88 kB / 1.106 GB, free: 14.36 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