Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_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.007792/0.007792, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001801/0.001802, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.333/1.333, 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 9.1.3-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 63.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7771, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00312/0.7803, allocations: 2.139 MB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.7846, allocations: 3.795 MB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.7847, allocations: 2.125 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.785, allocations: 62.75 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.7855, allocations: 122.3 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.7858, allocations: 147.9 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.7863, allocations: 320 kB / 1.094 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.7864, allocations: 50.97 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.7867, allocations: 135.5 kB / 1.094 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.7869, allocations: 151.4 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.7869, allocations: 19.91 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.7872, allocations: 129.8 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.7873, allocations: 59.02 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.7874, allocations: 120.4 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.7878, allocations: 340.5 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7878, allocations: 0.9062 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7879, allocations: 0.9375 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.7879, allocations: 0 / 1.095 GB, free: 232 kB / 0.8575 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.001211/0.7891, allocations: 0.6297 MB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.7891, allocations: 10.47 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.7892, allocations: 47.59 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000928/0.7901, allocations: 170.8 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.7909, allocations: 323.3 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.7909, allocations: 12.19 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.7909, allocations: 15.45 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.7916, allocations: 227.5 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7917, allocations: 0 / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.7917, allocations: 4.75 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7917, allocations: 2.781 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.7927, allocations: 276.7 kB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.794, allocations: 0.5743 MB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.7946, allocations: 173.4 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.7951, allocations: 160.5 kB / 1.097 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008358/0.796, allocations: 0.5449 MB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.796, allocations: 44.56 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.796, allocations: 0 / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.00166/0.7977, allocations: 486.8 kB / 1.098 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.7977, allocations: 52.28 kB / 1.098 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.798, allocations: 267.1 kB / 1.099 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.798, allocations: 30.55 kB / 1.099 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.7981, allocations: 149.3 kB / 1.099 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.7982, allocations: 44.25 kB / 1.099 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.7983, allocations: 41.44 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7984, allocations: 341.8 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.7989, allocations: 142.2 kB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.7994, allocations: 148 kB / 1.1 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/0.8004, allocations: 289.7 kB / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8004, allocations: 0 / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001101/0.8015, allocations: 372.9 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8015, allocations: 5.781 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8016, allocations: 0 / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8016, allocations: 1.531 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.802, allocations: 67.41 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.802, allocations: 1.75 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.8024, allocations: 58.5 kB / 1.1 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.8024, allocations: 6.922 kB / 1.1 GB, free: 12.9 MB / 0.8731 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 (17): * Single equations (assignments): 17 * 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.0001257/0.8025, allocations: 123.9 kB / 1.1 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.8026, allocations: 24.66 kB / 1.1 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.8038, allocations: 386.8 kB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8038, allocations: 0.8438 kB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.8038, allocations: 4.75 kB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.8038, allocations: 5.156 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.8042, allocations: 306.5 kB / 1.101 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8042, allocations: 0.8125 kB / 1.101 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.8046, allocations: 66.14 kB / 1.101 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.8046, allocations: 0 / 1.101 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.8047, allocations: 9.172 kB / 1.101 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8047, allocations: 4.844 kB / 1.101 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8047, allocations: 3.938 kB / 1.101 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.8058, allocations: 448 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.8059, allocations: 124.9 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.806, allocations: 1.844 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.8063, allocations: 37.59 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.8064, allocations: 19.12 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.8064, allocations: 6.922 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001881/0.8066, allocations: 186.3 kB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8066, allocations: 0 / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003792/0.807, allocations: 72.81 kB / 1.102 GB, free: 11.89 MB / 0.8731 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.001534/0.8086, allocations: 1.012 MB / 1.103 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.8098, allocations: 324.6 kB / 1.103 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8098, allocations: 0.5312 kB / 1.103 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.8104, allocations: 159.7 kB / 1.104 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.8108, allocations: 43.2 kB / 1.104 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.8161, allocations: 2.878 MB / 1.106 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.8164, allocations: 0.7462 MB / 1.107 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000224/0.8166, allocations: 43.28 kB / 1.107 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.8168, allocations: 80.78 kB / 1.107 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8168, allocations: 0 / 1.107 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.8439, allocations: 5.828 MB / 1.113 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/9.261, allocations: 12.28 kB / 1.113 GB, free: 7.824 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches