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.006167/0.006167, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001688/0.001688, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.262/2.262, allocations: 437.1 MB / 0.7106 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.89 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6215, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002697/0.6242, allocations: 1.923 MB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.6278, allocations: 3.455 MB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.6279, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.6281, allocations: 54.36 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.6285, allocations: 135.2 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.525e-05/0.6285, allocations: 15.97 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.6288, allocations: 179.2 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.6289, allocations: 33.66 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.629, allocations: 87.62 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.6292, allocations: 79.62 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.6292, allocations: 8 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.6293, allocations: 27.98 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.6293, allocations: 51.75 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.6294, allocations: 75.48 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.6297, allocations: 172.2 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.6297, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.855e-06/0.6297, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6297, allocations: 3.938 kB / 1.172 GB, free: 13.42 MB / 0.9044 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.0008081/0.6305, allocations: 0.5138 MB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.6305, allocations: 8.922 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.6306, allocations: 46.67 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.6306, allocations: 16.84 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.6309, allocations: 247 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.631, allocations: 4.375 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.631, allocations: 4.375 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.6313, allocations: 145.5 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6313, allocations: 11.92 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.6314, allocations: 0 / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.6314, allocations: 12 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.6318, allocations: 143.8 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.6325, allocations: 452.6 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.6329, allocations: 174.4 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.6331, allocations: 104.8 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.6332, allocations: 4 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.6332, allocations: 34.56 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.6332, allocations: 0 / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007995/0.634, allocations: 286.9 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.634, allocations: 51.41 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.6342, allocations: 217 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6343, allocations: 33.64 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.6343, allocations: 128 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.6344, allocations: 47.58 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.6345, allocations: 33.7 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6346, allocations: 330.8 kB / 1.175 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.6348, allocations: 75.92 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.635, allocations: 79.94 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.6355, allocations: 166 kB / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.6355, allocations: 0 / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005139/0.636, allocations: 214.7 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.636, allocations: 7.984 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.6361, allocations: 0 / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6361, allocations: 4 kB / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.6363, allocations: 35.91 kB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6363, allocations: 4 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.6365, allocations: 19.98 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.6365, allocations: 11.92 kB / 1.176 GB, free: 9.594 MB / 0.9044 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.706e-05/0.6366, allocations: 121.8 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.6366, allocations: 19.86 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.6367, allocations: 29.83 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6367, allocations: 4 kB / 1.176 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.6367, allocations: 3.938 kB / 1.176 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6367, allocations: 0 / 1.176 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.637, allocations: 277.3 kB / 1.176 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.637, allocations: 0 / 1.176 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.6372, allocations: 35.91 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6372, allocations: 0 / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.6373, allocations: 4 kB / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6373, allocations: 7.984 kB / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6373, allocations: 0 / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.6378, allocations: 312.9 kB / 1.177 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.6379, allocations: 112.9 kB / 1.177 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.638, allocations: 4 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.6382, allocations: 11.98 kB / 1.177 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.6383, allocations: 19.92 kB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6383, allocations: 0 / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001387/0.6384, allocations: 168.4 kB / 1.177 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6384, allocations: 3.938 kB / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002465/0.6387, allocations: 35.94 kB / 1.177 GB, free: 8.348 MB / 0.9044 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.0008548/0.6395, allocations: 0.8514 MB / 1.178 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.64, allocations: 181 kB / 1.178 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6401, allocations: 0 / 1.178 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.6403, allocations: 99.86 kB / 1.178 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.6406, allocations: 29.16 kB / 1.178 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.6437, allocations: 2.299 MB / 1.18 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.6441, allocations: 0.7351 MB / 1.181 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.6442, allocations: 56.58 kB / 1.181 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.6443, allocations: 51.41 kB / 1.181 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.6443, allocations: 0 / 1.181 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.908/3.552, allocations: 3.916 MB / 1.185 GB, free: 168 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/19.81, allocations: 7.938 kB / 1.185 GB, free: 160 kB / 0.9044 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=400 --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