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.001538/0.001538, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001779/0.001779, allocations: 193.8 kB / 16.26 MB, free: 6.629 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.33/2.33, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.536, allocations: 140.4 MB / 0.9492 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002476/0.5385, allocations: 1.966 MB / 0.9512 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.5412, allocations: 3.418 MB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.5413, allocations: 0.9375 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.5415, allocations: 46.27 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.5419, allocations: 123.8 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.499e-05/0.542, allocations: 23.81 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.5422, allocations: 176.1 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.5423, allocations: 31.48 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.5424, allocations: 76.3 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.5426, allocations: 90.27 kB / 0.955 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.5426, allocations: 9.531 kB / 0.955 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.5427, allocations: 39.78 kB / 0.9551 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.5427, allocations: 38.12 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.5428, allocations: 75.11 kB / 0.9552 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.543, allocations: 170.2 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.543, allocations: 0 / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.543, allocations: 0 / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.543, allocations: 0 / 0.9554 GB, free: 4.379 MB / 0.7169 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.0007395/0.5437, allocations: 0.5006 MB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5438, allocations: 9.562 kB / 0.9559 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.5438, allocations: 41.98 kB / 0.9559 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.5439, allocations: 21.22 kB / 0.9559 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.5441, allocations: 249.4 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.5441, allocations: 7.078 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.5442, allocations: 2.438 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.5445, allocations: 144.6 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5445, allocations: 0 / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.5445, allocations: 4 kB / 0.9563 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.5446, allocations: 12.94 kB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.545, allocations: 145.7 kB / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.5455, allocations: 459.6 kB / 0.9569 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.5459, allocations: 170.7 kB / 0.9571 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.5462, allocations: 102.4 kB / 0.9572 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.5462, allocations: 5.312 kB / 0.9572 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.5462, allocations: 31.88 kB / 0.9572 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.5462, allocations: 0 / 0.9572 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007769/0.547, allocations: 292.3 kB / 0.9575 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.547, allocations: 57.58 kB / 0.9575 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.5472, allocations: 215.2 kB / 0.9577 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.5472, allocations: 26.98 kB / 0.9578 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.5473, allocations: 119.6 kB / 0.9579 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.5473, allocations: 53.09 kB / 0.9579 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.5474, allocations: 31.7 kB / 0.9579 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.5474, allocations: 335.2 kB / 0.9583 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.5476, allocations: 76.31 kB / 0.9583 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.5478, allocations: 76.16 kB / 0.9584 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.5483, allocations: 169.9 kB / 0.9586 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5483, allocations: 0 / 0.9586 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004932/0.5488, allocations: 214.4 kB / 0.9588 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.5488, allocations: 5.375 kB / 0.9588 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.5488, allocations: 0 / 0.9588 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.5488, allocations: 1.156 kB / 0.9588 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.5491, allocations: 35.62 kB / 0.9588 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5491, allocations: 9.094 kB / 0.9588 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.5493, allocations: 19.56 kB / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.5493, allocations: 11.17 kB / 0.9589 GB, free: 1.578 MB / 0.7169 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 7.76e-05/0.5494, allocations: 130.5 kB / 0.959 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.5494, allocations: 20.41 kB / 0.959 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.5495, allocations: 23.66 kB / 0.959 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5495, allocations: 1.375 kB / 0.959 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5495, allocations: 4 kB / 0.959 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5495, allocations: 3.984 kB / 0.959 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.5497, allocations: 265.3 kB / 0.9593 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5497, allocations: 1.375 kB / 0.9593 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.5499, allocations: 35.34 kB / 0.9593 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5499, allocations: 1.375 kB / 0.9593 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.55, allocations: 9.297 kB / 0.9593 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.55, allocations: 0 / 0.9593 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.55, allocations: 0 / 0.9593 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.5505, allocations: 315.2 kB / 0.9596 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.5506, allocations: 111.9 kB / 0.9597 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.5506, allocations: 5.094 kB / 0.9597 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.5508, allocations: 19.08 kB / 0.9598 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.5509, allocations: 8.578 kB / 0.9598 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.5509, allocations: 7.547 kB / 0.9598 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001/0.551, allocations: 161.4 kB / 0.9599 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.551, allocations: 0 / 0.9599 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002757/0.5513, allocations: 39.75 kB / 0.96 GB, free: 0.6406 MB / 0.7169 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.0007286/0.552, allocations: 0.8595 MB / 0.9608 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.5526, allocations: 193.8 kB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5526, allocations: 0 / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.5528, allocations: 96.3 kB / 0.9611 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.5532, allocations: 27.31 kB / 0.9611 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5563, allocations: 2.348 MB / 0.9634 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.5566, allocations: 0.7389 MB / 0.9641 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.5568, allocations: 43.58 kB / 0.9642 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5569, allocations: 55.91 kB / 0.9642 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5569, allocations: 0 / 0.9642 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.651/2.208, allocations: 3.684 MB / 0.9678 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/2.208, allocations: 222.1 kB / 0.968 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/3.929, allocations: 3.5 kB / 0.968 GB, free: 11.15 MB / 0.7325 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