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.001253/0.001253, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.00132/0.00132, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.741/2.741, allocations: 476.7 MB / 0.7611 GB, free: 15.82 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.001997/0.001997, allocations: 67.89 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9026/0.9046, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00308/0.9077, allocations: 2.037 MB / 1.271 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.9121, allocations: 3.715 MB / 1.274 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.9122, allocations: 5.594 kB / 1.274 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.9126, allocations: 55.59 kB / 1.274 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.9129, allocations: 114.5 kB / 1.275 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.9132, allocations: 127.2 kB / 1.275 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.9136, allocations: 257.2 kB / 1.275 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.9137, allocations: 35.45 kB / 1.275 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.9139, allocations: 104.3 kB / 1.275 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.9141, allocations: 126.5 kB / 1.275 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.9141, allocations: 15.66 kB / 1.275 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.9143, allocations: 114.1 kB / 1.275 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.9144, allocations: 48.91 kB / 1.275 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.9145, allocations: 97.08 kB / 1.275 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.9149, allocations: 290.8 kB / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9149, allocations: 0 / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9149, allocations: 0.9688 kB / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.9149, allocations: 0 / 1.276 GB, free: 2.965 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.00106/0.9159, allocations: 0.5848 MB / 1.276 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.916, allocations: 10.06 kB / 1.276 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.916, allocations: 39.77 kB / 1.276 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.9161, allocations: 28.27 kB / 1.276 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.9165, allocations: 274 kB / 1.277 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.9165, allocations: 7.438 kB / 1.277 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.9165, allocations: 5.469 kB / 1.277 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.917, allocations: 179 kB / 1.277 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.917, allocations: 0 / 1.277 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.917, allocations: 4.75 kB / 1.277 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.917, allocations: 1.812 kB / 1.277 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.9177, allocations: 191.2 kB / 1.277 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.9185, allocations: 496.4 kB / 1.277 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.9188, allocations: 130.6 kB / 1.278 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.9192, allocations: 105.3 kB / 1.278 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007604/0.92, allocations: 0.542 MB / 1.278 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.92, allocations: 36.98 kB / 1.278 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.824e-06/0.92, allocations: 0 / 1.278 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001139/0.9211, allocations: 353 kB / 1.279 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.9211, allocations: 57.19 kB / 1.279 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.9214, allocations: 231.4 kB / 1.279 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.9214, allocations: 26.58 kB / 1.279 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.9215, allocations: 144.9 kB / 1.279 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.9215, allocations: 43.7 kB / 1.279 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.9216, allocations: 31.38 kB / 1.279 GB, free: 492 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.9216, allocations: 339.7 kB / 1.279 GB, free: 156 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.922, allocations: 90.59 kB / 1.279 GB, free: 140 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.9223, allocations: 95.69 kB / 1.28 GB, free: 120 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.923, allocations: 196.9 kB / 1.28 GB, free: 68 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.923, allocations: 1.188 kB / 1.28 GB, free: 68 kB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000809/0.9238, allocations: 259.5 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.9238, allocations: 5.844 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9238, allocations: 0.5625 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.9238, allocations: 0.9688 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.9242, allocations: 55.06 kB / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.9242, allocations: 5.078 kB / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.9244, allocations: 28.5 kB / 1.28 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.9244, allocations: 5.172 kB / 1.28 GB, free: 15.96 MB / 1.014 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.0001482/0.9246, allocations: 125.6 kB / 1.28 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.9247, allocations: 25.55 kB / 1.28 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009189/0.9256, allocations: 286 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.9256, allocations: 2.094 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9256, allocations: 8.75 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9256, allocations: 0.6562 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.926, allocations: 272.1 kB / 1.281 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.926, allocations: 0 / 1.281 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.9263, allocations: 43.58 kB / 1.281 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9263, allocations: 1.062 kB / 1.281 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.9263, allocations: 8.078 kB / 1.281 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9263, allocations: 0.7969 kB / 1.281 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9263, allocations: 4.938 kB / 1.281 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.9272, allocations: 360 kB / 1.281 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.9273, allocations: 115 kB / 1.281 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.9273, allocations: 4.641 kB / 1.281 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.9276, allocations: 24.5 kB / 1.281 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.9276, allocations: 17.8 kB / 1.281 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.9277, allocations: 10.3 kB / 1.281 GB, free: 15.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001585/0.9278, allocations: 168.3 kB / 1.282 GB, free: 15.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9278, allocations: 0 / 1.282 GB, free: 15.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003553/0.9282, allocations: 63.72 kB / 1.282 GB, free: 15.03 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.001262/0.9294, allocations: 0.9186 MB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.9302, allocations: 213.4 kB / 1.283 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9302, allocations: 0 / 1.283 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.9306, allocations: 113.9 kB / 1.283 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.931, allocations: 33.25 kB / 1.283 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.935, allocations: 2.465 MB / 1.285 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.9354, allocations: 0.7412 MB / 1.286 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.9355, allocations: 37.48 kB / 1.286 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.9357, allocations: 70.38 kB / 1.286 GB, free: 11.83 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/0.9357, allocations: 0 / 1.286 GB, free: 11.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.9653, allocations: 5.015 MB / 1.291 GB, free: 11.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/9.415, allocations: 12.41 kB / 1.291 GB, free: 11.2 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=34.56 --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.310420408844948]