Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001259/0.001259, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001482/0.001482, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.785 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.951/2.951, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 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.EN12975SolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_12_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.001965/0.001965, allocations: 70.05 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2892, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003255/0.2925, allocations: 1.996 MB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005269/0.2977, allocations: 3.912 MB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2978, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.2987, allocations: 183.1 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.2988, allocations: 67.41 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.2995, allocations: 307.2 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.3001, allocations: 394.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3002, allocations: 32.56 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3003, allocations: 123.5 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3005, allocations: 111.5 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.3005, allocations: 16 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.3011, allocations: 319.5 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3012, allocations: 103.6 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3013, allocations: 123.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.3019, allocations: 0.5331 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3019, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3019, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.302, allocations: 0 / 1.333 GB, free: 10.14 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001316/0.3033, allocations: 0.704 MB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3033, allocations: 8.031 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.3034, allocations: 46.73 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.3038, allocations: 80.61 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.3044, allocations: 296.6 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3044, allocations: 8.375 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3044, allocations: 8.375 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.3049, allocations: 198.5 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3049, allocations: 0 / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3049, allocations: 8 kB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3049, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007098/0.3057, allocations: 235.8 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.3066, allocations: 0.5346 MB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.3071, allocations: 170.5 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.3074, allocations: 128.8 kB / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.3075, allocations: 16.2 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3075, allocations: 46.44 kB / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3075, allocations: 0 / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001251/0.3088, allocations: 441.6 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3088, allocations: 59.34 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.3092, allocations: 417.9 kB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3093, allocations: 25.7 kB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3094, allocations: 183.9 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.3094, allocations: 35.69 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.3095, allocations: 41.7 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3097, allocations: 350.8 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.3102, allocations: 217.5 kB / 1.337 GB, free: 5.742 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.3106, allocations: 210.5 kB / 1.337 GB, free: 5.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.3114, allocations: 363.8 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3114, allocations: 0 / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001019/0.3125, allocations: 0.5143 MB / 1.338 GB, free: 4.637 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.3125, allocations: 41.69 kB / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3125, allocations: 0 / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3125, allocations: 0 / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.3128, allocations: 51.94 kB / 1.338 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3128, allocations: 3.938 kB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.3131, allocations: 39.81 kB / 1.338 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.3131, allocations: 11.92 kB / 1.338 GB, free: 4.484 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 (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.000155/0.3132, allocations: 154.3 kB / 1.338 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.3133, allocations: 39.75 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009242/0.3142, allocations: 352.7 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3142, allocations: 4 kB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3142, allocations: 7.875 kB / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3142, allocations: 0 / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.3146, allocations: 288.6 kB / 1.339 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3146, allocations: 0 / 1.339 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.3149, allocations: 51.88 kB / 1.339 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3149, allocations: 0 / 1.339 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3149, allocations: 8 kB / 1.339 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3149, allocations: 0 / 1.339 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3149, allocations: 3.938 kB / 1.339 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.3158, allocations: 419 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3159, allocations: 59.62 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.316, allocations: 4 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.3162, allocations: 27.95 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.3163, allocations: 15.92 kB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3163, allocations: 15.92 kB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003134/0.3166, allocations: 295.1 kB / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3166, allocations: 0 / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004079/0.317, allocations: 115.8 kB / 1.34 GB, free: 2.59 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 (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.001394/0.3184, allocations: 1.02 MB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009791/0.3194, allocations: 464.8 kB / 1.342 GB, free: 1.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3194, allocations: 4 kB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.3198, allocations: 131.8 kB / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.3202, allocations: 79.97 kB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.3263, allocations: 4.409 MB / 1.346 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.3265, allocations: 175.2 kB / 1.346 GB, free: 12.15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.3267, allocations: 49.91 kB / 1.346 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3269, allocations: 107.4 kB / 1.346 GB, free: 12 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3269, allocations: 0 / 1.346 GB, free: 12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.3653, allocations: 9.355 MB / 1.356 GB, free: 2.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.87, allocations: 8.047 kB / 1.356 GB, free: 2.855 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.932869635988027]