Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_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.004975/0.004975, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.001294/0.001294, allocations: 196.4 kB / 16.68 MB, free: 5.871 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.392/2.392, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5891, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002601/0.5917, allocations: 1.912 MB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003456/0.5952, allocations: 3.44 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.5952, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.5954, allocations: 56.59 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.5958, allocations: 137.9 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.468e-05/0.5959, allocations: 19.97 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.5961, allocations: 171.2 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.5962, allocations: 29.67 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.5963, allocations: 87.62 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.5965, allocations: 83.61 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.5965, allocations: 8 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.5966, allocations: 23.98 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.5966, allocations: 43.78 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.5967, allocations: 67.55 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.5969, allocations: 171.2 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.5969, allocations: 3.938 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.597, allocations: 0 / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.597, allocations: 0 / 1.226 GB, free: 11.79 MB / 0.9512 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.0007534/0.5977, allocations: 0.5061 MB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5978, allocations: 12.03 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.5978, allocations: 38.75 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.5979, allocations: 16.84 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.5982, allocations: 251 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5982, allocations: 4.375 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5982, allocations: 8.312 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.5985, allocations: 137.5 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5986, allocations: 4 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5986, allocations: 0 / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.5986, allocations: 8 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.599, allocations: 139.8 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.5996, allocations: 444.5 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.6, allocations: 162.5 kB / 1.228 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.6003, allocations: 108.7 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.6003, allocations: 0 / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.6003, allocations: 30.56 kB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 8.62e-07/0.6003, allocations: 0 / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007536/0.6011, allocations: 288.2 kB / 1.228 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.6011, allocations: 51.41 kB / 1.228 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.6013, allocations: 205 kB / 1.229 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.6013, allocations: 29.7 kB / 1.229 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.6014, allocations: 128 kB / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.6015, allocations: 47.58 kB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.6015, allocations: 33.7 kB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6017, allocations: 330.8 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.6019, allocations: 75.88 kB / 1.229 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.6021, allocations: 67.94 kB / 1.229 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.6025, allocations: 163.7 kB / 1.229 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6025, allocations: 0 / 1.229 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000497/0.603, allocations: 213.4 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.603, allocations: 4 kB / 1.23 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.603, allocations: 7.984 kB / 1.23 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.6031, allocations: 0 / 1.23 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.6033, allocations: 35.91 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6033, allocations: 0 / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.6034, allocations: 11.98 kB / 1.23 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.6034, allocations: 15.86 kB / 1.23 GB, free: 8.051 MB / 0.9512 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.967e-05/0.6036, allocations: 129.8 kB / 1.23 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.6036, allocations: 27.8 kB / 1.23 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.6037, allocations: 25.83 kB / 1.23 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6037, allocations: 4 kB / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6037, allocations: 0 / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.6037, allocations: 0 / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.6039, allocations: 261.4 kB / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.604, allocations: 0 / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.6042, allocations: 39.91 kB / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6042, allocations: 4 kB / 1.23 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.6042, allocations: 3.984 kB / 1.23 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6042, allocations: 0 / 1.23 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.6042, allocations: 0 / 1.23 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.6047, allocations: 315.2 kB / 1.23 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.6048, allocations: 112.9 kB / 1.231 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.6049, allocations: 4 kB / 1.231 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.605, allocations: 11.98 kB / 1.231 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.6051, allocations: 11.98 kB / 1.231 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.6051, allocations: 4 kB / 1.231 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001257/0.6052, allocations: 160.4 kB / 1.231 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.693e-06/0.6052, allocations: 4 kB / 1.231 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002344/0.6055, allocations: 35.94 kB / 1.231 GB, free: 6.824 MB / 0.9512 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.000827/0.6063, allocations: 0.8378 MB / 1.232 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.6068, allocations: 173.9 kB / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.6068, allocations: 0 / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.6071, allocations: 99.86 kB / 1.232 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.6074, allocations: 22.53 kB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.6102, allocations: 2.261 MB / 1.234 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.6105, allocations: 0.7236 MB / 1.235 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.6107, allocations: 44.59 kB / 1.235 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.6107, allocations: 55.41 kB / 1.235 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6108, allocations: 3.938 kB / 1.235 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.686/2.297, allocations: 3.773 MB / 1.239 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/13.49, allocations: 10.52 kB / 1.239 GB, free: 14.87 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches