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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 107.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.092/3.092, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 62.53 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3728, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003832/0.3767, allocations: 2.181 MB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005761/0.3824, allocations: 4.097 MB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.3826, allocations: 0 / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.3834, allocations: 195.3 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3836, allocations: 79.34 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.3844, allocations: 286.8 kB / 1.311 GB, free: 10.67 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.3851, allocations: 442.6 kB / 1.311 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3852, allocations: 44.66 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3854, allocations: 135.5 kB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3856, allocations: 155.4 kB / 1.311 GB, free: 9.902 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.3857, allocations: 24 kB / 1.311 GB, free: 9.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.3863, allocations: 327.5 kB / 1.312 GB, free: 9.559 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3865, allocations: 119.6 kB / 1.312 GB, free: 9.441 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.3866, allocations: 167 kB / 1.312 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.3874, allocations: 0.572 MB / 1.313 GB, free: 8.703 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3874, allocations: 3.938 kB / 1.313 GB, free: 8.699 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3874, allocations: 0 / 1.313 GB, free: 8.699 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.3874, allocations: 0 / 1.313 GB, free: 8.699 MB / 1.014 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.001633/0.389, allocations: 0.8068 MB / 1.313 GB, free: 7.836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3891, allocations: 12.62 kB / 1.313 GB, free: 7.824 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/0.3891, allocations: 42.73 kB / 1.313 GB, free: 7.773 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/0.3901, allocations: 176.5 kB / 1.314 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008768/0.391, allocations: 394.5 kB / 1.314 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.391, allocations: 12.31 kB / 1.314 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.391, allocations: 12 kB / 1.314 GB, free: 7.156 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006945/0.3917, allocations: 247.7 kB / 1.314 GB, free: 6.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3917, allocations: 3.984 kB / 1.314 GB, free: 6.906 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.3917, allocations: 4 kB / 1.314 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3918, allocations: 4 kB / 1.314 GB, free: 6.898 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.3928, allocations: 331.6 kB / 1.315 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.3943, allocations: 0.6877 MB / 1.315 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.3949, allocations: 218.3 kB / 1.315 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.3954, allocations: 164.7 kB / 1.316 GB, free: 5.449 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.228e-05/0.3955, allocations: 27.97 kB / 1.316 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3955, allocations: 38.56 kB / 1.316 GB, free: 5.375 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.3955, allocations: 0 / 1.316 GB, free: 5.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.001764/0.3973, allocations: 0.5637 MB / 1.316 GB, free: 4.805 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.3973, allocations: 51.41 kB / 1.316 GB, free: 4.742 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.3979, allocations: 445.7 kB / 1.317 GB, free: 4.301 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.3979, allocations: 29.7 kB / 1.317 GB, free: 4.266 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.3981, allocations: 188.6 kB / 1.317 GB, free: 4.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.3981, allocations: 43.58 kB / 1.317 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3982, allocations: 53.69 kB / 1.317 GB, free: 3.977 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3984, allocations: 350.8 kB / 1.317 GB, free: 3.625 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.3991, allocations: 292 kB / 1.318 GB, free: 3.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/0.3997, allocations: 293.5 kB / 1.318 GB, free: 3.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.4009, allocations: 0.5086 MB / 1.318 GB, free: 2.539 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4009, allocations: 0 / 1.318 GB, free: 2.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00153/0.4025, allocations: 0.714 MB / 1.319 GB, free: 1.812 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.4025, allocations: 45.69 kB / 1.319 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4025, allocations: 0 / 1.319 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.4026, allocations: 11.88 kB / 1.319 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.403, allocations: 67.91 kB / 1.319 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.403, allocations: 0 / 1.319 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.4034, allocations: 59.73 kB / 1.319 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.4034, allocations: 11.98 kB / 1.319 GB, free: 1.613 MB / 1.014 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.0002144/0.4036, allocations: 157.8 kB / 1.319 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.4037, allocations: 39.72 kB / 1.319 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.405, allocations: 448.8 kB / 1.32 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.405, allocations: 7.984 kB / 1.32 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.405, allocations: 0 / 1.32 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.405, allocations: 3.938 kB / 1.32 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.4055, allocations: 373.3 kB / 1.32 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4055, allocations: 0 / 1.32 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.4058, allocations: 59.86 kB / 1.32 GB, free: 496 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4059, allocations: 8 kB / 1.32 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4059, allocations: 3.984 kB / 1.32 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4059, allocations: 0 / 1.32 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4059, allocations: 0 / 1.32 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.4071, allocations: 0.5064 MB / 1.321 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.4073, allocations: 136.8 kB / 1.321 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.4073, allocations: 8 kB / 1.321 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.4077, allocations: 31.95 kB / 1.321 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.4078, allocations: 19.91 kB / 1.321 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4078, allocations: 8 kB / 1.321 GB, free: 15.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003799/0.4082, allocations: 303.1 kB / 1.321 GB, free: 15.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4082, allocations: 0 / 1.321 GB, free: 15.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005373/0.4087, allocations: 127.8 kB / 1.321 GB, free: 15.31 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.001847/0.4105, allocations: 1.122 MB / 1.322 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.412, allocations: 0.6317 MB / 1.323 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.412, allocations: 0 / 1.323 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.4126, allocations: 179.8 kB / 1.323 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.4131, allocations: 63.84 kB / 1.323 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/0.4216, allocations: 5.217 MB / 1.328 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.422, allocations: 0.7905 MB / 1.329 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.4223, allocations: 53.91 kB / 1.329 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4225, allocations: 123.4 kB / 1.329 GB, free: 6.988 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.4225, allocations: 3.938 kB / 1.329 GB, free: 6.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.4734, allocations: 9.165 MB / 1.338 GB, free: 14.01 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.912, allocations: 3.375 kB / 1.338 GB, free: 14.01 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.397380797192454]