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.001304/0.001304, allocations: 101.3 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.001393/0.001393, allocations: 219.8 kB / 23.03 MB, free: 4.941 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.961/2.961, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001885/0.001885, allocations: 61.59 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003602/0.3223, allocations: 1.855 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005073/0.3273, allocations: 3.452 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.3275, allocations: 4 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.3283, allocations: 176.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.3286, allocations: 87.47 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.3288, allocations: 51.91 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.3294, allocations: 291 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3295, allocations: 17.73 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3297, allocations: 79.69 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3299, allocations: 83.61 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.3299, allocations: 11.94 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.33, allocations: 31.98 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.3301, allocations: 51.83 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.3302, allocations: 75.52 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.3305, allocations: 203 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3305, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3305, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.3305, allocations: 0 / 1.333 GB, free: 11.03 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.0009714/0.3315, allocations: 484.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3315, allocations: 12.03 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.291e-05/0.3316, allocations: 4.125 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.3316, allocations: 38.75 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.332, allocations: 60.75 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.3325, allocations: 206.6 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3325, allocations: 4.375 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3325, allocations: 4.125 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.3329, allocations: 145.6 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3329, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3329, allocations: 4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.3329, allocations: 8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.3334, allocations: 135.9 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.3341, allocations: 419.6 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.3345, allocations: 158.5 kB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.3348, allocations: 104.8 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.3348, allocations: 0 / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3349, allocations: 46.5 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.3349, allocations: 0 / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008541/0.3357, allocations: 294.3 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.3358, allocations: 51.41 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.336, allocations: 260.2 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.3361, allocations: 33.7 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3362, allocations: 132.1 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.3362, allocations: 47.64 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.3363, allocations: 25.7 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3364, allocations: 342.8 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3367, allocations: 75.92 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3369, allocations: 75.94 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.3373, allocations: 163.9 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3373, allocations: 7.875 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005334/0.3379, allocations: 225.4 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3379, allocations: 7.984 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3379, allocations: 4 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3379, allocations: 0 / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.3381, allocations: 31.97 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3381, allocations: 0 / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3383, allocations: 23.86 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.3383, allocations: 7.984 kB / 1.336 GB, free: 7.27 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.0001418/0.3385, allocations: 138.3 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.3385, allocations: 23.86 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.3386, allocations: 33.8 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3386, allocations: 4 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3386, allocations: 0 / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3386, allocations: 7.938 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.3389, allocations: 224.6 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3389, allocations: 4 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3391, allocations: 31.97 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3391, allocations: 3.984 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3391, allocations: 11.98 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3391, allocations: 0 / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3391, allocations: 0 / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.3397, allocations: 327.2 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.3398, allocations: 47.72 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.3399, allocations: 0 / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.34, allocations: 11.98 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3401, allocations: 15.97 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3401, allocations: 7.938 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001882/0.3403, allocations: 183.1 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3403, allocations: 3.938 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002735/0.3406, allocations: 40 kB / 1.337 GB, free: 6.102 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.0009821/0.3416, allocations: 0.8604 MB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.3421, allocations: 171.9 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3421, allocations: 3.938 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.3423, allocations: 91.92 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3427, allocations: 60.77 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.3462, allocations: 2.434 MB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.3463, allocations: 136.1 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.3465, allocations: 53.36 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3466, allocations: 59.41 kB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3466, allocations: 4 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3743, allocations: 5.385 MB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 14.94 kB / 1.346 GB, free: 12.95 MB / 1.045 GB " [Timeout remaining time 288] (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: 17.845734180067666]