Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_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.002088/0.002088, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.007285/0.007285, allocations: 188.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.618/2.618, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.038/5.038, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 62.98 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6034/0.6059, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.009349/0.6154, allocations: 1.969 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005744/0.6212, allocations: 3.427 MB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.6214, allocations: 0 / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.6259, allocations: 43.81 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.6266, allocations: 115.4 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.6268, allocations: 27.97 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.6271, allocations: 171.2 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.6273, allocations: 21.69 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.6276, allocations: 83.69 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.6278, allocations: 79.62 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.6279, allocations: 8 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.628, allocations: 35.91 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.6281, allocations: 31.84 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.6282, allocations: 75.55 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.6286, allocations: 167.3 kB / 1.059 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6286, allocations: 3.938 kB / 1.059 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6286, allocations: 4 kB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6286, allocations: 4 kB / 1.059 GB, free: 2.406 MB / 0.8106 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.001144/0.6298, allocations: 0.4906 MB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.008e-05/0.6298, allocations: 8.625 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/0.6299, allocations: 38.75 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.63, allocations: 20.66 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.6305, allocations: 246.8 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.6306, allocations: 4.375 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.6306, allocations: 8.359 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.6311, allocations: 138.9 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6312, allocations: 0 / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.6312, allocations: 4 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.6312, allocations: 12 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.6318, allocations: 131.9 kB / 1.06 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009729/0.6328, allocations: 444.5 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.6334, allocations: 158.4 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.6338, allocations: 108.8 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.6338, allocations: 8 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.6339, allocations: 38.5 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 2.545e-06/0.6339, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.001146/0.635, allocations: 285.3 kB / 1.061 GB, free: 128 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.6351, allocations: 51.41 kB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.6354, allocations: 213 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.6355, allocations: 29.64 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.6356, allocations: 132 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.6357, allocations: 39.36 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.6358, allocations: 29.7 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.636, allocations: 338.8 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.6363, allocations: 67.94 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.6366, allocations: 67.94 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.6372, allocations: 160.7 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.6372, allocations: 4 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007927/0.638, allocations: 209.3 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.638, allocations: 8 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6381, allocations: 0 / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.6381, allocations: 0 / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.6384, allocations: 31.97 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6384, allocations: 0 / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.6387, allocations: 23.89 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.6387, allocations: 11.92 kB / 1.062 GB, free: 14.68 MB / 0.8262 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 0.0001857/0.6389, allocations: 127.4 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.639, allocations: 19.81 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.639, allocations: 25.83 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6391, allocations: 3.938 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6391, allocations: 0 / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6391, allocations: 0 / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.6395, allocations: 265.4 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6395, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.6398, allocations: 35.97 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6398, allocations: 4 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.6398, allocations: 3.984 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.6398, allocations: 4 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6399, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.6407, allocations: 322.3 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.6408, allocations: 108.8 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.6409, allocations: 4 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6411, allocations: 11.98 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.6412, allocations: 11.98 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.6413, allocations: 4 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001801/0.6415, allocations: 160.4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6415, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004264/0.6419, allocations: 35.94 kB / 1.063 GB, free: 13.46 MB / 0.8262 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.001243/0.6431, allocations: 0.8488 MB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007046/0.6439, allocations: 183.8 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6439, allocations: 0 / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.6442, allocations: 95.86 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.6448, allocations: 27.53 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.6537, allocations: 2.278 MB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.6544, allocations: 0.7275 MB / 1.067 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003887/0.6548, allocations: 52.58 kB / 1.067 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.655, allocations: 55.41 kB / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of SimCode: time 1.072e-06/0.655, allocations: 0 / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0945/0.7496, allocations: 3.536 MB / 1.071 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/0.75, allocations: 228.4 kB / 1.071 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/4.714, allocations: 3 kB / 1.071 GB, free: 5.465 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches