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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00693/0.00693, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.001522/0.001522, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.71/2.71, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2524, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003078/0.2555, allocations: 2.149 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00426/0.2597, allocations: 3.801 MB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2599, allocations: 0 / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.2602, allocations: 63.44 kB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.2605, allocations: 119.2 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.2609, allocations: 151.6 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.2613, allocations: 310.9 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2614, allocations: 60.7 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.2617, allocations: 135.5 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2619, allocations: 143.4 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.2619, allocations: 20 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.2622, allocations: 139.8 kB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.2623, allocations: 59.73 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.2624, allocations: 123.3 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.2628, allocations: 346.5 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2629, allocations: 4 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2629, allocations: 0 / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2629, allocations: 0 / 1.227 GB, free: 7.023 MB / 0.9825 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.001249/0.2641, allocations: 0.6325 MB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2642, allocations: 12.03 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.2642, allocations: 42.73 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.2652, allocations: 180.5 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.266, allocations: 324.4 kB / 1.228 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.266, allocations: 12.31 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.2661, allocations: 12 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.2668, allocations: 227.3 kB / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2668, allocations: 0 / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2668, allocations: 4 kB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2668, allocations: 4 kB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2679, allocations: 283.7 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2692, allocations: 0.5746 MB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.2698, allocations: 162.4 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/0.2703, allocations: 164.7 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008315/0.2711, allocations: 0.5493 MB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2712, allocations: 34.56 kB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2712, allocations: 0 / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001766/0.273, allocations: 489.4 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.273, allocations: 51.41 kB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.2733, allocations: 272.5 kB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.2733, allocations: 29.7 kB / 1.231 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.2734, allocations: 148.1 kB / 1.231 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.2734, allocations: 43.58 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.2735, allocations: 41.69 kB / 1.231 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2737, allocations: 334.8 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.2742, allocations: 147.8 kB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.2748, allocations: 147.9 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.2758, allocations: 290 kB / 1.232 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.2758, allocations: 3.938 kB / 1.232 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001182/0.277, allocations: 375 kB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.277, allocations: 4 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.277, allocations: 4 kB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2771, allocations: 0 / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.2775, allocations: 75.84 kB / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2776, allocations: 0 / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.2779, allocations: 55.72 kB / 1.233 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.2779, allocations: 7.984 kB / 1.233 GB, free: 1.027 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 (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.0001218/0.2781, allocations: 129.8 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.2781, allocations: 23.86 kB / 1.233 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2794, allocations: 377.9 kB / 1.233 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2794, allocations: 4 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2794, allocations: 4 kB / 1.233 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2794, allocations: 3.938 kB / 1.233 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.2797, allocations: 301.4 kB / 1.233 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2798, allocations: 0 / 1.233 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.2802, allocations: 55.92 kB / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2802, allocations: 4 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2802, allocations: 3.984 kB / 1.234 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2802, allocations: 4 kB / 1.234 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2802, allocations: 0 / 1.234 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2815, allocations: 459 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.2816, allocations: 120.9 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.2816, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.282, allocations: 43.94 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.2821, allocations: 15.92 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2821, allocations: 7.984 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001528/0.2823, allocations: 187.1 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2823, allocations: 0 / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003587/0.2827, allocations: 75.83 kB / 1.234 GB, free: 15.15 MB / 0.9981 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.001543/0.2842, allocations: 1.013 MB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.2854, allocations: 320.8 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2854, allocations: 0 / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.286, allocations: 163.8 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.2864, allocations: 40.55 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.2916, allocations: 2.909 MB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2918, allocations: 0.7435 MB / 1.239 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.2921, allocations: 37.41 kB / 1.239 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.2922, allocations: 84.02 kB / 1.24 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.2922, allocations: 0 / 1.24 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.3138, allocations: 5.832 MB / 1.245 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.928, allocations: 3.75 kB / 1.245 GB, free: 4.055 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 50 --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