Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_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.007874/0.007875, allocations: 101 kB / 15.73 MB, free: 6.047 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.001886/0.001887, allocations: 188 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2969, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003374/0.3004, allocations: 1.925 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004341/0.3047, allocations: 3.45 MB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.3049, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.3053, allocations: 59.61 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005729/0.3059, allocations: 127.9 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.658e-05/0.306, allocations: 23.97 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3062, allocations: 183.2 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3064, allocations: 29.66 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3066, allocations: 87.62 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.3068, allocations: 79.62 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.3068, allocations: 12 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.3069, allocations: 35.91 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.307, allocations: 31.84 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.3071, allocations: 79.53 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3074, allocations: 175.5 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.3074, allocations: 4 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3074, allocations: 0 / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3074, allocations: 0 / 1.172 GB, free: 0.9727 MB / 0.92 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.0009807/0.3084, allocations: 0.5061 MB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3085, allocations: 12.03 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.3085, allocations: 34.75 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3086, allocations: 20.69 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.3089, allocations: 242.9 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.309, allocations: 12.34 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.309, allocations: 12.31 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.3094, allocations: 145.5 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3094, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3094, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.3094, allocations: 11.98 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.3098, allocations: 143.9 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.3105, allocations: 460.2 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.3109, allocations: 174.5 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3112, allocations: 104.8 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3112, allocations: 0 / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3113, allocations: 38.55 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.3113, allocations: 0 / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007971/0.3121, allocations: 293.7 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3121, allocations: 55.41 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3123, allocations: 213 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3124, allocations: 29.7 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.3125, allocations: 124 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.3125, allocations: 39.44 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.3126, allocations: 29.7 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3127, allocations: 338.8 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3129, allocations: 71.94 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.3131, allocations: 79.92 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3135, allocations: 164.6 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3135, allocations: 0 / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004911/0.314, allocations: 221.2 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3141, allocations: 10.19 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3141, allocations: 0 / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3141, allocations: 0 / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3144, allocations: 35.95 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3144, allocations: 4 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.3145, allocations: 15.92 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3146, allocations: 11.94 kB / 1.176 GB, free: 13.16 MB / 0.9356 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.744e-05/0.3147, allocations: 129.8 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3147, allocations: 23.72 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.3148, allocations: 29.77 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3148, allocations: 0 / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3148, allocations: 4 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3148, allocations: 0 / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3151, allocations: 261.5 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3151, allocations: 3.938 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.3153, allocations: 35.95 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3153, allocations: 4 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3153, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3153, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3153, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.3159, allocations: 327 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.316, allocations: 112.8 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.316, allocations: 4 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.3162, allocations: 15.98 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.3163, allocations: 19.97 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3163, allocations: 4 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001223/0.3164, allocations: 156.4 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3164, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002743/0.3167, allocations: 39.98 kB / 1.177 GB, free: 11.91 MB / 0.9356 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.0008316/0.3175, allocations: 0.8605 MB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.318, allocations: 179.9 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3181, allocations: 0 / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.3183, allocations: 99.36 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3187, allocations: 24.42 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.3216, allocations: 2.299 MB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3219, allocations: 0.7351 MB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.3221, allocations: 52.58 kB / 1.181 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.3222, allocations: 55.52 kB / 1.181 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.3222, allocations: 3.938 kB / 1.181 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.3408, allocations: 3.915 MB / 1.185 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.395, allocations: 15.77 kB / 1.185 GB, free: 3.715 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches