Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00173/0.00173, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001495/0.001495, allocations: 213.1 kB / 23.03 MB, free: 4.926 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.866/2.866, allocations: 476.8 MB / 0.7715 GB, free: 3.887 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.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="cs",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.002024/0.002024, allocations: 68.11 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3478, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003914/0.3517, allocations: 2.066 MB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005432/0.3571, allocations: 3.655 MB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.3574, allocations: 3.938 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.3577, allocations: 59.52 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005028/0.3582, allocations: 119.1 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.3588, allocations: 203.5 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.3595, allocations: 326.8 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.3596, allocations: 44.77 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.36, allocations: 139.5 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.3603, allocations: 151.3 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.3603, allocations: 20 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.3607, allocations: 131.8 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.3608, allocations: 59.77 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3609, allocations: 107.4 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.3616, allocations: 358.4 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3616, allocations: 0 / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3616, allocations: 0 / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3616, allocations: 0 / 1.291 GB, free: 3.188 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.001452/0.363, allocations: 0.5863 MB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3631, allocations: 8.031 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.795e-05/0.3631, allocations: 8.312 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.3632, allocations: 42.73 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.3645, allocations: 224.4 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.3654, allocations: 286.6 kB / 1.292 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3654, allocations: 11.94 kB / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.3655, allocations: 12 kB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.3662, allocations: 224.6 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3662, allocations: 0 / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.3662, allocations: 8 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3662, allocations: 0 / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3672, allocations: 279.7 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3687, allocations: 0.5074 MB / 1.293 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.3692, allocations: 162.4 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.3697, allocations: 148.7 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/0.3704, allocations: 107.8 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.3705, allocations: 34.5 kB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.3705, allocations: 0 / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001713/0.3722, allocations: 491.6 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3722, allocations: 55.34 kB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.3726, allocations: 284.5 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.3726, allocations: 29.7 kB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3727, allocations: 152 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.3728, allocations: 55.48 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3729, allocations: 41.69 kB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3731, allocations: 334.8 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.3737, allocations: 147.9 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.3742, allocations: 157.9 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3752, allocations: 280.6 kB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3752, allocations: 0 / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001248/0.3764, allocations: 379.6 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.3765, allocations: 7.984 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3765, allocations: 0 / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.3765, allocations: 0 / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/0.377, allocations: 67.86 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.377, allocations: 7.922 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.3774, allocations: 47.91 kB / 1.296 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.3775, allocations: 7.984 kB / 1.296 GB, free: 13.89 MB / 0.9981 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.0002249/0.3777, allocations: 129.8 kB / 1.296 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.3778, allocations: 27.81 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3791, allocations: 384.1 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3791, allocations: 0 / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3791, allocations: 3.938 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3791, allocations: 3.938 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.3795, allocations: 252.6 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3795, allocations: 0 / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.3799, allocations: 59.92 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.3799, allocations: 4 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3799, allocations: 0 / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3799, allocations: 3.984 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3799, allocations: 3.938 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3811, allocations: 452.4 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3812, allocations: 39.78 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.3812, allocations: 4 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.3816, allocations: 43.94 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.3817, allocations: 19.91 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3818, allocations: 7.984 kB / 1.298 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002124/0.382, allocations: 195.1 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.382, allocations: 0 / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004326/0.3824, allocations: 83.69 kB / 1.298 GB, free: 12.13 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.001702/0.3841, allocations: 1.002 MB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.3853, allocations: 313.2 kB / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3853, allocations: 3.938 kB / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.3858, allocations: 155.9 kB / 1.299 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.3863, allocations: 33.02 kB / 1.299 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.392, allocations: 2.954 MB / 1.302 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.3921, allocations: 138.4 kB / 1.302 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002561/0.3924, allocations: 53.38 kB / 1.302 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.3926, allocations: 79.41 kB / 1.303 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/0.3926, allocations: 4 kB / 1.303 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.421, allocations: 6.401 MB / 1.309 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.98, allocations: 18.02 kB / 1.309 GB, free: 1.078 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.016279367962852]