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.001486/0.001486, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001724/0.001724, allocations: 217.2 kB / 22.25 MB, free: 5.105 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.316/1.316, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] 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.888/2.888, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001851/0.001851, allocations: 67.23 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2829, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003175/0.286, allocations: 2.01 MB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004873/0.2909, allocations: 3.904 MB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.291, allocations: 3.938 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.2917, allocations: 183.2 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.2918, allocations: 63.42 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.2925, allocations: 312.1 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.2931, allocations: 394.7 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2932, allocations: 44.48 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2933, allocations: 119.6 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2935, allocations: 131.4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.2936, allocations: 16 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.2941, allocations: 323.5 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2942, allocations: 103.6 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2943, allocations: 119.3 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.2949, allocations: 0.537 MB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2949, allocations: 0 / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2949, allocations: 0 / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2949, allocations: 0 / 1.334 GB, free: 9.27 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.001305/0.2962, allocations: 0.6963 MB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2963, allocations: 8.031 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.2963, allocations: 42.75 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.2967, allocations: 84.59 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.2973, allocations: 300.6 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2973, allocations: 4.375 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.2973, allocations: 8.375 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.2978, allocations: 193.5 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2978, allocations: 3.938 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.2978, allocations: 11.98 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2978, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000672/0.2985, allocations: 240.8 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.2995, allocations: 0.5307 MB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.2999, allocations: 166.5 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.3002, allocations: 136.7 kB / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.3003, allocations: 12 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3003, allocations: 42.55 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3003, allocations: 0 / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001166/0.3015, allocations: 441.5 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3015, allocations: 55.34 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.302, allocations: 425.9 kB / 1.337 GB, free: 5.746 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.302, allocations: 25.7 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3021, allocations: 183.9 kB / 1.337 GB, free: 5.531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.3022, allocations: 39.69 kB / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.3022, allocations: 41.69 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3024, allocations: 346.8 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.3028, allocations: 217.5 kB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.3032, allocations: 213.6 kB / 1.338 GB, free: 4.664 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.304, allocations: 364.4 kB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.304, allocations: 4 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009503/0.305, allocations: 0.5179 MB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.305, allocations: 41.69 kB / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.305, allocations: 0 / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.305, allocations: 0 / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.3053, allocations: 55.88 kB / 1.339 GB, free: 3.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3054, allocations: 3.938 kB / 1.339 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.3056, allocations: 35.86 kB / 1.339 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3056, allocations: 7.984 kB / 1.339 GB, free: 3.613 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.0001523/0.3058, allocations: 154.3 kB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.3058, allocations: 39.72 kB / 1.339 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008529/0.3067, allocations: 348.6 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3067, allocations: 4 kB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3067, allocations: 3.938 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3067, allocations: 0 / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.3071, allocations: 288.6 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3071, allocations: 0 / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.3074, allocations: 47.94 kB / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3074, allocations: 0 / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3074, allocations: 8 kB / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3074, allocations: 0 / 1.34 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3074, allocations: 3.938 kB / 1.34 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.3082, allocations: 419 kB / 1.34 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3084, allocations: 59.62 kB / 1.34 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.3084, allocations: 4 kB / 1.34 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3087, allocations: 23.97 kB / 1.341 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.3088, allocations: 19.91 kB / 1.341 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3088, allocations: 7.984 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002964/0.3091, allocations: 303.1 kB / 1.341 GB, free: 1.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3091, allocations: 0 / 1.341 GB, free: 1.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003996/0.3095, allocations: 115.8 kB / 1.341 GB, free: 1.73 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.001349/0.3108, allocations: 1.025 MB / 1.342 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009376/0.3118, allocations: 468.8 kB / 1.342 GB, free: 208 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3118, allocations: 4 kB / 1.342 GB, free: 204 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.3121, allocations: 131.8 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.3126, allocations: 73.59 kB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/0.3185, allocations: 4.404 MB / 1.347 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.3186, allocations: 179.2 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.3188, allocations: 53.89 kB / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.319, allocations: 107.4 kB / 1.347 GB, free: 11.13 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.319, allocations: 0 / 1.347 GB, free: 11.13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.3544, allocations: 9.407 MB / 1.356 GB, free: 1.934 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.82, allocations: 13.5 kB / 1.356 GB, free: 1.926 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.76289580698358]