Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001414/0.001414, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.00163/0.00163, allocations: 214 kB / 22.25 MB, free: 5.133 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 8.016 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.834/2.834, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001921/0.001921, allocations: 68.34 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2738, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002949/0.2768, allocations: 1.943 MB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.281, allocations: 3.752 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.2811, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.2818, allocations: 195.1 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.2819, allocations: 87.47 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.2821, allocations: 51.86 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.2825, allocations: 275.1 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.2826, allocations: 17.73 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2827, allocations: 91.62 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2829, allocations: 83.61 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.2829, allocations: 8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.283, allocations: 31.98 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.2831, allocations: 59.75 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.2831, allocations: 91.36 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.2834, allocations: 207 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2834, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2834, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.2834, allocations: 4 kB / 1.333 GB, free: 11.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008305/0.2842, allocations: 480.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2843, allocations: 8.031 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.2843, allocations: 38.75 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.2847, allocations: 56.75 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.285, allocations: 214.6 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2851, allocations: 4.375 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.2851, allocations: 8.375 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.2854, allocations: 141.4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2854, allocations: 4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2854, allocations: 3.984 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.2855, allocations: 8 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.2859, allocations: 143.9 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.2865, allocations: 431.5 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.2869, allocations: 158.5 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.2872, allocations: 108.8 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.2872, allocations: 7.922 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2872, allocations: 38.5 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.2872, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000777/0.288, allocations: 300.9 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.288, allocations: 51.41 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2883, allocations: 256.2 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2883, allocations: 29.7 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.2884, allocations: 136.1 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.2884, allocations: 39.64 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.2885, allocations: 33.7 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2886, allocations: 338.8 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2888, allocations: 75.94 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.2891, allocations: 79.92 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.2895, allocations: 164.7 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2895, allocations: 0 / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005022/0.29, allocations: 227.9 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.29, allocations: 4 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.29, allocations: 0 / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.29, allocations: 0 / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2902, allocations: 35.95 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2902, allocations: 7.938 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2904, allocations: 23.86 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2904, allocations: 3.938 kB / 1.336 GB, free: 7.297 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 (13): * Single equations (assignments): 13 * 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.0001244/0.2905, allocations: 146.3 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.2906, allocations: 23.86 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.2906, allocations: 29.8 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2906, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2906, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2906, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.2909, allocations: 256.5 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2909, allocations: 0 / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.2911, allocations: 35.95 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2911, allocations: 4 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2912, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.2912, allocations: 7.938 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2912, allocations: 0 / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.2917, allocations: 331.1 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.2918, allocations: 39.73 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.2918, allocations: 4 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.292, allocations: 11.98 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.2921, allocations: 15.97 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.2921, allocations: 4 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001636/0.2923, allocations: 191 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.2923, allocations: 0 / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002568/0.2925, allocations: 36 kB / 1.337 GB, free: 6.113 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 (13): * Single equations (assignments): 13 * 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.0008668/0.2934, allocations: 0.8567 MB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.2939, allocations: 177.4 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2939, allocations: 0 / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.2941, allocations: 91.92 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.2945, allocations: 56.88 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.2977, allocations: 2.441 MB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.298, allocations: 0.7436 MB / 1.341 GB, free: 1.617 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000157/0.2982, allocations: 53.38 kB / 1.341 GB, free: 1.566 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2983, allocations: 63.41 kB / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.2983, allocations: 0 / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.3309, allocations: 5.13 MB / 1.347 GB, free: 12.56 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.44, allocations: 10.25 kB / 1.347 GB, free: 12.55 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.274835177930072]