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.001774/0.001774, allocations: 109.4 kB / 16.46 MB, free: 6.387 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.002123/0.002123, allocations: 216.8 kB / 19.43 MB, free: 3.73 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.397/1.397, allocations: 230.6 MB / 252.8 MB, free: 8.969 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 3.03/3.03, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.001924/0.001924, allocations: 73.83 kB / 1.149 GB, free: 26.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2983, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003397/0.3017, allocations: 2.089 MB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006245/0.3079, allocations: 4.2 MB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.3081, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000858/0.309, allocations: 203 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.3091, allocations: 63.42 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.31, allocations: 307.2 kB / 1.328 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007441/0.3107, allocations: 382.8 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.3109, allocations: 44.36 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.3111, allocations: 119.5 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3114, allocations: 127.4 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.3114, allocations: 16 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.312, allocations: 319.5 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3121, allocations: 103.7 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.3123, allocations: 151 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.3133, allocations: 0.5292 MB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3133, allocations: 0 / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3133, allocations: 0 / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.3133, allocations: 0 / 1.329 GB, free: 10.65 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.001633/0.3149, allocations: 0.7716 MB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.315, allocations: 19.97 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.315, allocations: 38.75 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004762/0.3155, allocations: 84.59 kB / 1.33 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.3161, allocations: 362.5 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3161, allocations: 4.375 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3162, allocations: 12.38 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.3167, allocations: 193.5 kB / 1.331 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3167, allocations: 4 kB / 1.331 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.3167, allocations: 0 / 1.331 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3167, allocations: 4 kB / 1.331 GB, free: 9.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.3175, allocations: 243.8 kB / 1.331 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3186, allocations: 0.5901 MB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.319, allocations: 174.4 kB / 1.332 GB, free: 8.008 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.3194, allocations: 128.8 kB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.3195, allocations: 23.91 kB / 1.332 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3195, allocations: 42.56 kB / 1.332 GB, free: 7.805 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3195, allocations: 4.156 kB / 1.332 GB, free: 7.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001326/0.3208, allocations: 441.2 kB / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3209, allocations: 59.34 kB / 1.332 GB, free: 7.293 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.3214, allocations: 417.9 kB / 1.333 GB, free: 6.875 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.3214, allocations: 25.7 kB / 1.333 GB, free: 6.844 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3215, allocations: 184 kB / 1.333 GB, free: 6.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.3216, allocations: 47.62 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.3217, allocations: 37.69 kB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3218, allocations: 350.8 kB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.3223, allocations: 163.9 kB / 1.333 GB, free: 6.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.3227, allocations: 179.8 kB / 1.334 GB, free: 5.883 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.3235, allocations: 364.5 kB / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3235, allocations: 0 / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001013/0.3246, allocations: 466.8 kB / 1.334 GB, free: 5.051 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.3246, allocations: 45.69 kB / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3246, allocations: 0 / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3246, allocations: 0 / 1.334 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.3249, allocations: 47.88 kB / 1.335 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3249, allocations: 7.938 kB / 1.335 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.3252, allocations: 43.81 kB / 1.335 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3252, allocations: 4 kB / 1.335 GB, free: 4.898 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.0001674/0.3254, allocations: 157.8 kB / 1.335 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.3255, allocations: 35.77 kB / 1.335 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009494/0.3264, allocations: 340.7 kB / 1.335 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3264, allocations: 7.938 kB / 1.335 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.3264, allocations: 7.922 kB / 1.335 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3264, allocations: 0 / 1.335 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.3268, allocations: 333.5 kB / 1.335 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3268, allocations: 4 kB / 1.335 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3271, allocations: 51.94 kB / 1.335 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3271, allocations: 0 / 1.335 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3271, allocations: 3.984 kB / 1.335 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3271, allocations: 4 kB / 1.335 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3271, allocations: 3.938 kB / 1.336 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.328, allocations: 419 kB / 1.336 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3282, allocations: 136.8 kB / 1.336 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.3282, allocations: 4 kB / 1.336 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3285, allocations: 23.97 kB / 1.336 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.3285, allocations: 19.92 kB / 1.336 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3286, allocations: 7.984 kB / 1.336 GB, free: 3.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003188/0.3289, allocations: 291.1 kB / 1.336 GB, free: 2.984 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3289, allocations: 0 / 1.336 GB, free: 2.984 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004535/0.3293, allocations: 127.7 kB / 1.336 GB, free: 2.859 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.001507/0.3309, allocations: 1.016 MB / 1.337 GB, free: 1.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.3319, allocations: 468 kB / 1.338 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3319, allocations: 0 / 1.338 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.3323, allocations: 135.8 kB / 1.338 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3327, allocations: 71.59 kB / 1.338 GB, free: 1.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006291/0.339, allocations: 4.24 MB / 1.342 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.3395, allocations: 0.7905 MB / 1.343 GB, free: 12 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.3396, allocations: 49.92 kB / 1.343 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.3398, allocations: 107.4 kB / 1.343 GB, free: 11.85 MB / 1.045 GB Notification: Performance of SimCode: time 4.5e-07/0.3398, allocations: 0 / 1.343 GB, free: 11.85 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.3727, allocations: 8.497 MB / 1.351 GB, free: 3.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.673, allocations: 17.91 kB / 1.351 GB, free: 3.535 MB / 1.045 GB " [Timeout remaining time 291] (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: 14.855190698057413]