Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.0052/0.0052, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001557/0.001557, allocations: 195.5 kB / 16.68 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 62.73 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2708, allocations: 162.2 MB / 1.241 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003343/0.2742, allocations: 2.165 MB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005082/0.2793, allocations: 4.089 MB / 1.248 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.2794, allocations: 0 / 1.248 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.2801, allocations: 187.3 kB / 1.248 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.2803, allocations: 79.34 kB / 1.248 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.2809, allocations: 283.3 kB / 1.248 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.2816, allocations: 438.6 kB / 1.249 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2817, allocations: 52.72 kB / 1.249 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.2819, allocations: 139.5 kB / 1.249 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2822, allocations: 151.3 kB / 1.249 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2822, allocations: 28 kB / 1.249 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005342/0.2828, allocations: 319.5 kB / 1.249 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2829, allocations: 115.6 kB / 1.249 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2831, allocations: 171 kB / 1.249 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.2838, allocations: 0.572 MB / 1.25 GB, free: 476 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2838, allocations: 0 / 1.25 GB, free: 476 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2838, allocations: 0 / 1.25 GB, free: 476 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.2838, allocations: 0 / 1.25 GB, free: 476 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001507/0.2853, allocations: 0.8068 MB / 1.251 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2854, allocations: 12.03 kB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.2854, allocations: 42.73 kB / 1.251 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.2865, allocations: 184.5 kB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.2873, allocations: 390.6 kB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2874, allocations: 16.31 kB / 1.251 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.2874, allocations: 15.94 kB / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.2882, allocations: 241.5 kB / 1.252 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2882, allocations: 0 / 1.252 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.2882, allocations: 7.984 kB / 1.252 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2882, allocations: 4 kB / 1.252 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2894, allocations: 331.6 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2909, allocations: 0.6761 MB / 1.253 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.2916, allocations: 226.3 kB / 1.253 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.2922, allocations: 180.7 kB / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.2922, allocations: 19.98 kB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2923, allocations: 30.56 kB / 1.253 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2923, allocations: 0 / 1.253 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001977/0.2943, allocations: 0.5706 MB / 1.254 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2943, allocations: 59.34 kB / 1.254 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.2948, allocations: 441.8 kB / 1.254 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.2948, allocations: 29.7 kB / 1.254 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.295, allocations: 188.6 kB / 1.254 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.2951, allocations: 51.47 kB / 1.254 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2952, allocations: 53.69 kB / 1.254 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.2953, allocations: 346.8 kB / 1.255 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.2961, allocations: 296 kB / 1.255 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.2968, allocations: 293.5 kB / 1.255 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.2982, allocations: 0.5033 MB / 1.256 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2982, allocations: 4 kB / 1.256 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001623/0.2998, allocations: 0.7217 MB / 1.257 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.2999, allocations: 43.56 kB / 1.257 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2999, allocations: 0 / 1.257 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2999, allocations: 0 / 1.257 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.3004, allocations: 71.91 kB / 1.257 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3004, allocations: 4 kB / 1.257 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.3008, allocations: 55.67 kB / 1.257 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.3008, allocations: 7.984 kB / 1.257 GB, free: 9.363 MB / 0.9825 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001727/0.301, allocations: 165.8 kB / 1.257 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.3011, allocations: 35.77 kB / 1.257 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.3025, allocations: 444.8 kB / 1.257 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3025, allocations: 0 / 1.257 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3025, allocations: 0 / 1.257 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3026, allocations: 7.938 kB / 1.257 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.303, allocations: 377.3 kB / 1.258 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.303, allocations: 3.984 kB / 1.258 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.3034, allocations: 63.86 kB / 1.258 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3035, allocations: 0 / 1.258 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.3035, allocations: 7.984 kB / 1.258 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3035, allocations: 0 / 1.258 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3035, allocations: 0 / 1.258 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.3048, allocations: 0.5068 MB / 1.258 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.305, allocations: 132.8 kB / 1.258 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.3051, allocations: 4 kB / 1.258 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.3054, allocations: 31.95 kB / 1.258 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.3055, allocations: 23.91 kB / 1.258 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3056, allocations: 4 kB / 1.258 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003336/0.3059, allocations: 307.1 kB / 1.259 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3059, allocations: 4 kB / 1.259 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004523/0.3064, allocations: 127.8 kB / 1.259 GB, free: 7.055 MB / 0.9825 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.001896/0.3083, allocations: 1.125 MB / 1.26 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.3098, allocations: 0.6786 MB / 1.261 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3099, allocations: 0 / 1.261 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.3105, allocations: 199.7 kB / 1.261 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.311, allocations: 53.88 kB / 1.261 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008166/0.3192, allocations: 5.202 MB / 1.266 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.3196, allocations: 0.7983 MB / 1.267 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.3199, allocations: 61.91 kB / 1.267 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3201, allocations: 115.4 kB / 1.267 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3201, allocations: 0 / 1.267 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.3517, allocations: 9.119 MB / 1.276 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.522, allocations: 3.75 kB / 1.276 GB, free: 5.754 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches