Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001829/0.001829, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002281/0.002281, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.984/2.984, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ASHRAESolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.002074/0.002074, allocations: 73.69 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.31, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00377/0.3138, allocations: 2.214 MB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005903/0.3197, allocations: 4.23 MB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3198, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.3207, allocations: 195.3 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.3209, allocations: 83.27 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.3218, allocations: 322.1 kB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.3226, allocations: 454.6 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3228, allocations: 48.7 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.323, allocations: 143.5 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.3233, allocations: 163.3 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.3233, allocations: 20 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006217/0.324, allocations: 331.5 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3241, allocations: 115.6 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.3243, allocations: 174.9 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009161/0.3252, allocations: 0.5875 MB / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3252, allocations: 4 kB / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3252, allocations: 0 / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.3252, allocations: 0 / 1.33 GB, free: 10.23 MB / 1.029 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.001643/0.3269, allocations: 0.8184 MB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3269, allocations: 15.98 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.327, allocations: 38.75 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.3284, allocations: 240.3 kB / 1.331 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009923/0.3294, allocations: 418.5 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3294, allocations: 16.31 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.3295, allocations: 12 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.3302, allocations: 239.7 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3302, allocations: 4 kB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.3303, allocations: 12 kB / 1.331 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3303, allocations: 0 / 1.331 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.3314, allocations: 331.6 kB / 1.332 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.3329, allocations: 0.6878 MB / 1.332 GB, free: 7.273 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.3336, allocations: 214.4 kB / 1.333 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.3342, allocations: 176.7 kB / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/0.3342, allocations: 15.98 kB / 1.333 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3343, allocations: 38.56 kB / 1.333 GB, free: 6.816 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.3343, allocations: 0 / 1.333 GB, free: 6.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001936/0.3362, allocations: 0.5637 MB / 1.333 GB, free: 6.246 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3362, allocations: 51.41 kB / 1.333 GB, free: 6.184 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.3368, allocations: 461.7 kB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.3368, allocations: 29.7 kB / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.337, allocations: 192.5 kB / 1.334 GB, free: 5.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.3371, allocations: 55.58 kB / 1.334 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3372, allocations: 53.62 kB / 1.334 GB, free: 5.383 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3373, allocations: 350.8 kB / 1.334 GB, free: 5.031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/0.3381, allocations: 300 kB / 1.335 GB, free: 4.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.3387, allocations: 293 kB / 1.335 GB, free: 4.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.3401, allocations: 0.5072 MB / 1.336 GB, free: 3.938 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3401, allocations: 4 kB / 1.336 GB, free: 3.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001656/0.3417, allocations: 0.7102 MB / 1.336 GB, free: 3.211 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.3418, allocations: 49.67 kB / 1.336 GB, free: 3.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3418, allocations: 0 / 1.336 GB, free: 3.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3418, allocations: 0 / 1.336 GB, free: 3.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.3423, allocations: 67.86 kB / 1.336 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3423, allocations: 4 kB / 1.336 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.3427, allocations: 55.73 kB / 1.336 GB, free: 3.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.3427, allocations: 7.984 kB / 1.336 GB, free: 3.023 MB / 1.029 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.0002104/0.3429, allocations: 157.8 kB / 1.337 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.343, allocations: 39.72 kB / 1.337 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.3444, allocations: 444.8 kB / 1.337 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3445, allocations: 4 kB / 1.337 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3445, allocations: 0 / 1.337 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3445, allocations: 3.938 kB / 1.337 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.345, allocations: 373.3 kB / 1.337 GB, free: 1.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.345, allocations: 0 / 1.337 GB, free: 1.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.3454, allocations: 67.91 kB / 1.337 GB, free: 1.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.3454, allocations: 3.984 kB / 1.337 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.3454, allocations: 0 / 1.337 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3454, allocations: 4 kB / 1.337 GB, free: 1.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3454, allocations: 0 / 1.337 GB, free: 1.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3468, allocations: 0.5038 MB / 1.338 GB, free: 1.363 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.347, allocations: 136.8 kB / 1.338 GB, free: 1.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.347, allocations: 8 kB / 1.338 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.3474, allocations: 39.94 kB / 1.338 GB, free: 1.164 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.3475, allocations: 15.92 kB / 1.338 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3475, allocations: 15.98 kB / 1.338 GB, free: 1.133 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003917/0.3479, allocations: 311 kB / 1.338 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3479, allocations: 0 / 1.338 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005563/0.3485, allocations: 135.8 kB / 1.339 GB, free: 0.6953 MB / 1.029 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.002117/0.3506, allocations: 1.12 MB / 1.34 GB, free: 15.55 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.3522, allocations: 0.6239 MB / 1.34 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3522, allocations: 0 / 1.34 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006145/0.3528, allocations: 179.8 kB / 1.34 GB, free: 14.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.3534, allocations: 59.73 kB / 1.341 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008825/0.3622, allocations: 5.282 MB / 1.346 GB, free: 9.309 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.3627, allocations: 0.7987 MB / 1.346 GB, free: 8.484 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.363, allocations: 57.91 kB / 1.347 GB, free: 8.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.3632, allocations: 119.4 kB / 1.347 GB, free: 8.312 MB / 1.045 GB Notification: Performance of SimCode: time 1.142e-06/0.3632, allocations: 0 / 1.347 GB, free: 8.312 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.3985, allocations: 9.319 MB / 1.356 GB, free: 15.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.558, allocations: 7.797 kB / 1.356 GB, free: 15.18 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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: 14.717779183993116]