Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001412/0.001412, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001762/0.001762, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.988 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.762/2.762, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] 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.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.002056/0.002056, allocations: 65.53 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2813, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003638/0.285, allocations: 2.059 MB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005145/0.2901, allocations: 3.88 MB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2903, allocations: 7.938 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2905, allocations: 51.56 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.2909, allocations: 115.2 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.2913, allocations: 163.5 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000435/0.2918, allocations: 267 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2919, allocations: 32.52 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.2922, allocations: 127.5 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2924, allocations: 123.4 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.2925, allocations: 16 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.2928, allocations: 119.8 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.2928, allocations: 47.83 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.293, allocations: 107.3 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.2934, allocations: 294.8 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2934, allocations: 0 / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2934, allocations: 0 / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2934, allocations: 0 / 1.291 GB, free: 4.285 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001216/0.2946, allocations: 0.5317 MB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2947, allocations: 12.03 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.2947, allocations: 38.75 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.2952, allocations: 76.69 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.2958, allocations: 230.5 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2958, allocations: 384 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.2958, allocations: 16.38 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.2964, allocations: 169.5 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2964, allocations: 0 / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2964, allocations: 4 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2964, allocations: 0 / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.2971, allocations: 199.8 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.2981, allocations: 459.6 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.2985, allocations: 118.4 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.2988, allocations: 105 kB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.2995, allocations: 107.8 kB / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2995, allocations: 34.56 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.2995, allocations: 3.938 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001227/0.3008, allocations: 349.5 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3008, allocations: 59.34 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.3011, allocations: 248.2 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.3011, allocations: 25.7 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3012, allocations: 144 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.3013, allocations: 47.64 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.3014, allocations: 29.7 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3015, allocations: 330.8 kB / 1.294 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.3019, allocations: 99.84 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.3022, allocations: 95.91 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/0.3029, allocations: 197.3 kB / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3029, allocations: 0 / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008163/0.3037, allocations: 265.2 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3037, allocations: 4 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3037, allocations: 4 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3037, allocations: 3.938 kB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.304, allocations: 43.94 kB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.3041, allocations: 3.938 kB / 1.294 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3043, allocations: 31.97 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3043, allocations: 7.984 kB / 1.295 GB, free: 72 kB / 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 (11): * Single equations (assignments): 11 * 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.0001498/0.3045, allocations: 125.8 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.3045, allocations: 23.81 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009034/0.3054, allocations: 287.1 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3054, allocations: 3.984 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3055, allocations: 7.938 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3055, allocations: 0 / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.3058, allocations: 252.5 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3058, allocations: 0 / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.3061, allocations: 43.95 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3061, allocations: 0 / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3061, allocations: 7.984 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3061, allocations: 0 / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3061, allocations: 3.938 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000834/0.307, allocations: 359.2 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3071, allocations: 39.78 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.3071, allocations: 0 / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.3074, allocations: 35.95 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.3074, allocations: 15.92 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3074, allocations: 11.92 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001743/0.3076, allocations: 171.1 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3076, allocations: 0 / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003594/0.308, allocations: 63.8 kB / 1.296 GB, free: 14.57 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 (11): * Single equations (assignments): 11 * 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.001286/0.3093, allocations: 0.9268 MB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007809/0.31, allocations: 211.8 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.31, allocations: 0 / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.3104, allocations: 115.8 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3108, allocations: 35.64 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.3153, allocations: 2.505 MB / 1.3 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3156, allocations: 0.7431 MB / 1.3 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000201/0.3158, allocations: 32.61 kB / 1.3 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.316, allocations: 79.41 kB / 1.3 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.316, allocations: 0 / 1.3 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.3512, allocations: 5.328 MB / 1.306 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.86, allocations: 8.062 kB / 1.306 GB, free: 4.629 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.389616350177675]