Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 111.3 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9207/0.9227, allocations: 168.7 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003138/0.9258, allocations: 2.045 MB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003828/0.9296, allocations: 3.745 MB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.9298, allocations: 1.219 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.93, allocations: 54.58 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.9304, allocations: 110.4 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.9307, allocations: 131.4 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000321/0.931, allocations: 257.1 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.9311, allocations: 33.78 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.9314, allocations: 108.2 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.9315, allocations: 111.4 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.9316, allocations: 19.38 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.9318, allocations: 122.2 kB / 1.278 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.9319, allocations: 50.47 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.035e-05/0.932, allocations: 100.2 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.9323, allocations: 276.8 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9323, allocations: 0 / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9323, allocations: 0.8438 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9323, allocations: 0 / 1.278 GB, free: 3.129 MB / 0.9981 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.001035/0.9334, allocations: 0.5939 MB / 1.279 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.9334, allocations: 10.22 kB / 1.279 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.9334, allocations: 39.05 kB / 1.279 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.9335, allocations: 27.86 kB / 1.279 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.9339, allocations: 273.5 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.9339, allocations: 7.062 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.9339, allocations: 5.75 kB / 1.279 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.9344, allocations: 175.9 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9344, allocations: 4.938 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.9344, allocations: 8.938 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.9344, allocations: 1.844 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.9351, allocations: 190.3 kB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.9359, allocations: 491.3 kB / 1.28 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.9363, allocations: 122.4 kB / 1.28 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.9367, allocations: 103 kB / 1.28 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.9374, allocations: 0.5534 MB / 1.281 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.9375, allocations: 36.12 kB / 1.281 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.9375, allocations: 0 / 1.281 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001253/0.9387, allocations: 352.4 kB / 1.281 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.9387, allocations: 64.72 kB / 1.281 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.939, allocations: 232.6 kB / 1.282 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.939, allocations: 27.09 kB / 1.282 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.9391, allocations: 140.6 kB / 1.282 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.9391, allocations: 39.23 kB / 1.282 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.9392, allocations: 27.81 kB / 1.282 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.9392, allocations: 331.3 kB / 1.282 GB, free: 328 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.9396, allocations: 98.7 kB / 1.282 GB, free: 304 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.9399, allocations: 92.95 kB / 1.282 GB, free: 288 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.9406, allocations: 198.6 kB / 1.283 GB, free: 236 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9406, allocations: 0 / 1.283 GB, free: 236 kB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007594/0.9414, allocations: 267.6 kB / 1.283 GB, free: 136 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9414, allocations: 6.578 kB / 1.283 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.9414, allocations: 0 / 1.283 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9414, allocations: 2.719 kB / 1.283 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.9417, allocations: 45.16 kB / 1.283 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.9417, allocations: 6.734 kB / 1.283 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.9419, allocations: 31.34 kB / 1.283 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.942, allocations: 4.859 kB / 1.283 GB, free: 120 kB / 0.9981 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 (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 prepare postOptimizeDAE: time 0.0001134/0.9421, allocations: 124.5 kB / 1.283 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.9421, allocations: 21.05 kB / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008942/0.943, allocations: 291.6 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.943, allocations: 3.875 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.943, allocations: 7.938 kB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.943, allocations: 0.75 kB / 1.283 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.9434, allocations: 269.5 kB / 1.284 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9434, allocations: 0 / 1.284 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.9437, allocations: 48.31 kB / 1.284 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.9437, allocations: 1.625 kB / 1.284 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.9437, allocations: 2.422 kB / 1.284 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.9437, allocations: 6.625 kB / 1.284 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9437, allocations: 7.938 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/0.9445, allocations: 361.2 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.9447, allocations: 107.9 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.9447, allocations: 5.875 kB / 1.284 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.9449, allocations: 23.67 kB / 1.284 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.945, allocations: 22 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.9451, allocations: 2.203 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001633/0.9452, allocations: 170.3 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9452, allocations: 0 / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003388/0.9456, allocations: 65.23 kB / 1.284 GB, free: 15.18 MB / 1.014 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.001281/0.9468, allocations: 0.9248 MB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007953/0.9476, allocations: 207 kB / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9476, allocations: 0 / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.948, allocations: 111.6 kB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.9485, allocations: 37.91 kB / 1.286 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.953, allocations: 2.469 MB / 1.288 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.9534, allocations: 0.7442 MB / 1.289 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.9536, allocations: 43.41 kB / 1.289 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.9537, allocations: 61.81 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/0.9537, allocations: 2.594 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.9839, allocations: 4.973 MB / 1.294 GB, free: 11.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/9.563, allocations: 3.062 kB / 1.294 GB, free: 11.34 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.369974433997413]