Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.0009892/0.0009892, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007526/0.007526, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.9 MB / 0.6664 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5548, allocations: 142.4 MB / 0.9552 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001576/0.5564, allocations: 1.61 MB / 0.9567 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.5592, allocations: 3.379 MB / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.5593, allocations: 4 kB / 0.96 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.5595, allocations: 42.92 kB / 0.9601 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.5599, allocations: 123.4 kB / 0.9602 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.274e-05/0.5599, allocations: 19.41 kB / 0.9602 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.5601, allocations: 178 kB / 0.9604 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.5602, allocations: 26.92 kB / 0.9604 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.5603, allocations: 80.3 kB / 0.9605 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.5605, allocations: 76.06 kB / 0.9606 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.5605, allocations: 4.469 kB / 0.9606 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.186e-05/0.5606, allocations: 28.38 kB / 0.9606 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.5606, allocations: 33.34 kB / 0.9606 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.5607, allocations: 95.83 kB / 0.9607 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.5609, allocations: 146.6 kB / 0.9609 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.5609, allocations: 0 / 0.9609 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5609, allocations: 0.9062 kB / 0.9609 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5609, allocations: 0 / 0.9609 GB, free: 3.242 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.0006782/0.5616, allocations: 0.4914 MB / 0.9613 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5616, allocations: 8.25 kB / 0.9613 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.5617, allocations: 37.5 kB / 0.9614 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.5617, allocations: 30.22 kB / 0.9614 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.562, allocations: 239.7 kB / 0.9616 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.562, allocations: 7.125 kB / 0.9616 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.562, allocations: 3.125 kB / 0.9617 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.5624, allocations: 154 kB / 0.9618 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5624, allocations: 1.375 kB / 0.9618 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5624, allocations: 0 / 0.9618 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.5624, allocations: 20.08 kB / 0.9618 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.563, allocations: 148 kB / 0.962 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.5636, allocations: 455.4 kB / 0.9624 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.5641, allocations: 178.5 kB / 0.9626 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.5643, allocations: 107.9 kB / 0.9627 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.5644, allocations: 2.219 kB / 0.9627 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.5644, allocations: 31.5 kB / 0.9627 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.5644, allocations: 4 kB / 0.9627 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008263/0.5652, allocations: 300.1 kB / 0.963 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.5653, allocations: 56.58 kB / 0.963 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.5654, allocations: 205.5 kB / 0.9632 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.5654, allocations: 31.05 kB / 0.9633 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.5655, allocations: 123.4 kB / 0.9634 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.5655, allocations: 41.55 kB / 0.9634 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.5656, allocations: 12.28 kB / 0.9634 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.5656, allocations: 339.9 kB / 0.9638 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.5659, allocations: 84.66 kB / 0.9638 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.5661, allocations: 78.81 kB / 0.9639 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.5665, allocations: 173.2 kB / 0.9641 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5666, allocations: 0 / 0.9641 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005095/0.5671, allocations: 227.9 kB / 0.9643 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.5671, allocations: 9.312 kB / 0.9643 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.5671, allocations: 0 / 0.9643 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.5671, allocations: 5.406 kB / 0.9643 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.5674, allocations: 43.64 kB / 0.9644 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5674, allocations: 0 / 0.9644 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.5675, allocations: 20.02 kB / 0.9644 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5676, allocations: 11.88 kB / 0.9644 GB, free: 0.4961 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.83e-05/0.5677, allocations: 129.7 kB / 0.9645 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.5677, allocations: 21.31 kB / 0.9645 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.5678, allocations: 25.89 kB / 0.9646 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5678, allocations: 2.375 kB / 0.9646 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5678, allocations: 3.938 kB / 0.9646 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.5678, allocations: 0 / 0.9646 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.568, allocations: 260.2 kB / 0.9648 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.568, allocations: 0 / 0.9648 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.5682, allocations: 42.81 kB / 0.9648 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5682, allocations: 1.344 kB / 0.9649 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.5683, allocations: 8.969 kB / 0.9649 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5683, allocations: 5.453 kB / 0.9649 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5683, allocations: 0 / 0.9649 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.5689, allocations: 322 kB / 0.9652 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.569, allocations: 111.3 kB / 0.9653 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.569, allocations: 5.531 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.5692, allocations: 18.75 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.5693, allocations: 12.86 kB / 0.9653 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5693, allocations: 2.062 kB / 0.9653 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001186/0.5694, allocations: 159.9 kB / 0.9655 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5694, allocations: 3.938 kB / 0.9655 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002737/0.5697, allocations: 34.16 kB / 0.9655 GB, free: 15.57 MB / 0.7325 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.0008392/0.5705, allocations: 0.86 MB / 0.9663 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.5711, allocations: 190.7 kB / 0.9665 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5711, allocations: 0 / 0.9665 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.5714, allocations: 107.2 kB / 0.9666 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.5718, allocations: 30.56 kB / 0.9667 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.5749, allocations: 2.355 MB / 0.969 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.5752, allocations: 0.7273 MB / 0.9697 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.5754, allocations: 54.52 kB / 0.9697 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.5755, allocations: 50.34 kB / 0.9698 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5755, allocations: 0 / 0.9698 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/0.716, allocations: 3.36 MB / 0.973 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.7162, allocations: 225 kB / 0.9733 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.406, allocations: 0 / 0.9733 GB, free: 10.29 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches