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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 209.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.935/2.935, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 65.97 kB / 1.117 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00337/0.324, allocations: 1.868 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00463/0.3287, allocations: 3.331 MB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3288, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.3291, allocations: 47.64 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004749/0.3295, allocations: 127.2 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.3297, allocations: 59.91 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.3299, allocations: 179.2 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.33, allocations: 17.81 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3303, allocations: 87.62 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3304, allocations: 75.62 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.3304, allocations: 8 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3305, allocations: 35.91 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.3306, allocations: 35.84 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.3307, allocations: 63.61 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.331, allocations: 179.1 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.331, allocations: 0 / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.331, allocations: 0 / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.331, allocations: 0 / 1.289 GB, free: 6.352 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008986/0.3319, allocations: 460.9 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.332, allocations: 8.031 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.332, allocations: 38.75 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.3324, allocations: 60.75 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.3328, allocations: 189.2 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3328, allocations: 8.375 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3328, allocations: 4.375 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.3332, allocations: 145.4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3332, allocations: 0 / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3332, allocations: 4 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.3333, allocations: 11.98 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.3337, allocations: 127.9 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.3344, allocations: 399.7 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.3349, allocations: 154.4 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.3351, allocations: 96.77 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3351, allocations: 8 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3352, allocations: 34.56 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.3352, allocations: 0 / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008704/0.3361, allocations: 280.2 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3361, allocations: 63.33 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.3364, allocations: 213 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.3364, allocations: 33.7 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3365, allocations: 128.1 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.3365, allocations: 47.52 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.3366, allocations: 33.7 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3368, allocations: 330.8 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.337, allocations: 67.94 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.3372, allocations: 75.88 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.3377, allocations: 158.6 kB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3377, allocations: 0 / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005812/0.3383, allocations: 213.4 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3383, allocations: 7.938 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3383, allocations: 0 / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3383, allocations: 4 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3386, allocations: 31.97 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3386, allocations: 0 / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3388, allocations: 19.98 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3388, allocations: 11.92 kB / 1.292 GB, free: 2.762 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 (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.0001257/0.3389, allocations: 121.8 kB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.3389, allocations: 23.84 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.339, allocations: 29.77 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.339, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.339, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.339, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3393, allocations: 232.4 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3393, allocations: 4 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3395, allocations: 31.97 kB / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3395, allocations: 0 / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3395, allocations: 4 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3395, allocations: 3.984 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3395, allocations: 0 / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006132/0.3402, allocations: 308.8 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.3403, allocations: 31.84 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3403, allocations: 7.938 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.3405, allocations: 15.97 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.3405, allocations: 15.98 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3405, allocations: 4 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001666/0.3407, allocations: 164.4 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3407, allocations: 0 / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002835/0.341, allocations: 39.94 kB / 1.293 GB, free: 1.676 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.001076/0.3421, allocations: 0.8489 MB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005528/0.3426, allocations: 162.4 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3426, allocations: 3.938 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.3429, allocations: 91.8 kB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3433, allocations: 24.42 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.3469, allocations: 2.293 MB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.347, allocations: 124 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.3472, allocations: 45.05 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3473, allocations: 55.41 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/0.3473, allocations: 0 / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.3789, allocations: 4.466 MB / 1.301 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 2.641 kB / 1.301 GB, free: 9.625 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.04 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.373612294904888]