Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001462/0.001462, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001594/0.001594, allocations: 222.4 kB / 23.03 MB, free: 4.945 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.051/3.051, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001911/0.001911, allocations: 65.77 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3054, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003497/0.3089, allocations: 1.997 MB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005515/0.3144, allocations: 3.904 MB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3146, allocations: 7.938 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.3154, allocations: 175.1 kB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3156, allocations: 71.42 kB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.3164, allocations: 310.3 kB / 1.352 GB, free: 9.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006794/0.317, allocations: 398.7 kB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3172, allocations: 36.55 kB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3174, allocations: 115.6 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.3176, allocations: 131.4 kB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.3176, allocations: 20 kB / 1.352 GB, free: 8.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.3182, allocations: 327.5 kB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.3184, allocations: 111.6 kB / 1.353 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3186, allocations: 111.3 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007329/0.3193, allocations: 0.537 MB / 1.353 GB, free: 7.719 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3193, allocations: 0 / 1.353 GB, free: 7.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3193, allocations: 0 / 1.353 GB, free: 7.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.3193, allocations: 0 / 1.353 GB, free: 7.719 MB / 1.045 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.001454/0.3208, allocations: 0.6964 MB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3208, allocations: 8.031 kB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.148e-05/0.3208, allocations: 4.188 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.3209, allocations: 46.67 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.322, allocations: 156.5 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.3227, allocations: 304.6 kB / 1.354 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3227, allocations: 8.375 kB / 1.354 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.3227, allocations: 16.06 kB / 1.354 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.3233, allocations: 214.9 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3233, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3233, allocations: 3.984 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3233, allocations: 8 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.324, allocations: 255.8 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3252, allocations: 0.5385 MB / 1.355 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.3256, allocations: 178.5 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.326, allocations: 136.8 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/0.3261, allocations: 19.98 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.3261, allocations: 30.56 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3261, allocations: 0 / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001357/0.3275, allocations: 473.4 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3275, allocations: 55.34 kB / 1.356 GB, free: 4.445 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.328, allocations: 425.9 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.328, allocations: 33.64 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3282, allocations: 183.8 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.3283, allocations: 39.64 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.3284, allocations: 41.69 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3285, allocations: 350.8 kB / 1.357 GB, free: 3.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.329, allocations: 217.6 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.3294, allocations: 221.6 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/0.3303, allocations: 380 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3303, allocations: 0 / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001074/0.3314, allocations: 0.5333 MB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-05/0.3314, allocations: 45.69 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3314, allocations: 0 / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3315, allocations: 0 / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.3318, allocations: 47.94 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3318, allocations: 3.938 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.3321, allocations: 47.84 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.3321, allocations: 4 kB / 1.359 GB, free: 1.844 MB / 1.045 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 (12): * Single equations (assignments): 11 * 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.0001836/0.3323, allocations: 161.8 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.3324, allocations: 35.75 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.3334, allocations: 364.7 kB / 1.359 GB, free: 1.273 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3334, allocations: 4 kB / 1.359 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3334, allocations: 3.938 kB / 1.359 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3334, allocations: 0 / 1.359 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.3338, allocations: 300.5 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3338, allocations: 0 / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.3341, allocations: 51.94 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3341, allocations: 0 / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3341, allocations: 4 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3341, allocations: 3.938 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3341, allocations: 3.938 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/0.3351, allocations: 435.1 kB / 1.36 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3352, allocations: 55.67 kB / 1.36 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.3352, allocations: 4 kB / 1.36 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.3355, allocations: 23.97 kB / 1.36 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.3356, allocations: 23.84 kB / 1.36 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.3356, allocations: 7.984 kB / 1.36 GB, free: 320 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003288/0.336, allocations: 299.1 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.336, allocations: 0 / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004988/0.3365, allocations: 115.8 kB / 1.361 GB, free: 15.91 MB / 1.061 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.001542/0.338, allocations: 1.037 MB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.339, allocations: 492.7 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.339, allocations: 0 / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.3394, allocations: 139.9 kB / 1.362 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.3399, allocations: 70.55 kB / 1.362 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.3463, allocations: 4.46 MB / 1.367 GB, free: 9.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.3465, allocations: 175.2 kB / 1.367 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.3467, allocations: 61.91 kB / 1.367 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.3469, allocations: 111.4 kB / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.3469, allocations: 0 / 1.367 GB, free: 9.211 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.3794, allocations: 9.083 MB / 1.376 GB, free: 380 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 13.86 kB / 1.376 GB, free: 372 kB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.108008068054914]