Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000775/0.000775, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007806/0.0007806, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8257/0.8257, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.667/1.667, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.154e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001918/0.001929, allocations: 1.993 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002976/0.004906, allocations: 3.903 MB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.004979, allocations: 7.938 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.005537, allocations: 183.1 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.005611, allocations: 75.3 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.006017, allocations: 309.5 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.006392, allocations: 394.7 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.006476, allocations: 36.56 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.006594, allocations: 155.5 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.006698, allocations: 103.8 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.006724, allocations: 19.94 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.007007, allocations: 311.5 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.007084, allocations: 107.7 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.007156, allocations: 95.69 kB / 1.007 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.007561, allocations: 0.5763 MB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.522e-06/0.007563, allocations: 0 / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.22e-07/0.007563, allocations: 4 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.007568, allocations: 0 / 1.008 GB, free: 5.191 MB / 0.9636 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.0007389/0.008307, allocations: 0.6946 MB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.008339, allocations: 8.75 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.00837, allocations: 42.73 kB / 1.008 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/0.00885, allocations: 164.5 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.009187, allocations: 287.9 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.009198, allocations: 8.375 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.009216, allocations: 12.38 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.009506, allocations: 206 kB / 1.009 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.009514, allocations: 192 / 1.009 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.009529, allocations: 7.938 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.009534, allocations: 4 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.00993, allocations: 263.7 kB / 1.009 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.01061, allocations: 0.5463 MB / 1.01 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.01085, allocations: 182.4 kB / 1.01 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.01104, allocations: 128.8 kB / 1.01 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.01108, allocations: 20 kB / 1.01 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.0111, allocations: 38.55 kB / 1.01 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.0111, allocations: 0 / 1.01 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0007068/0.01181, allocations: 473.5 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.01183, allocations: 55.34 kB / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.01209, allocations: 421.9 kB / 1.011 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.01211, allocations: 25.7 kB / 1.011 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.01219, allocations: 183.9 kB / 1.011 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.01222, allocations: 39.67 kB / 1.011 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.01228, allocations: 45.64 kB / 1.011 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.01236, allocations: 354.7 kB / 1.012 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.0126, allocations: 217.6 kB / 1.012 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.01282, allocations: 219.8 kB / 1.012 GB, free: 420 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.01325, allocations: 374.3 kB / 1.013 GB, free: 36 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01325, allocations: 0 / 1.013 GB, free: 36 kB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005444/0.01379, allocations: 0.5265 MB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.01382, allocations: 45.69 kB / 1.013 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.01382, allocations: 0 / 1.013 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.01383, allocations: 0 / 1.013 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.01399, allocations: 55.88 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.014, allocations: 0 / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.01411, allocations: 39.81 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01413, allocations: 11.98 kB / 1.013 GB, free: 15.34 MB / 0.9792 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.0001023/0.01423, allocations: 157.8 kB / 1.013 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.01426, allocations: 35.7 kB / 1.013 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.01477, allocations: 372.7 kB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01477, allocations: 8 kB / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01477, allocations: 0 / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.01477, allocations: 0 / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.01499, allocations: 292.5 kB / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.01499, allocations: 0 / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.01512, allocations: 51.92 kB / 1.014 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01512, allocations: 0 / 1.014 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.01513, allocations: 3.984 kB / 1.014 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01514, allocations: 4 kB / 1.014 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01514, allocations: 4 kB / 1.014 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.0156, allocations: 442.9 kB / 1.015 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.01567, allocations: 55.72 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01569, allocations: 4 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01581, allocations: 27.97 kB / 1.015 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.01586, allocations: 19.97 kB / 1.015 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01587, allocations: 4 kB / 1.015 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001849/0.01606, allocations: 299.1 kB / 1.015 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01606, allocations: 0 / 1.015 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002451/0.0163, allocations: 115.8 kB / 1.015 GB, free: 13.41 MB / 0.9792 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.0007856/0.01709, allocations: 1.052 MB / 1.016 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006212/0.01771, allocations: 481.7 kB / 1.016 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01771, allocations: 0 / 1.016 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.01792, allocations: 147.8 kB / 1.017 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01821, allocations: 59.11 kB / 1.017 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.02184, allocations: 4.43 MB / 1.021 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.02196, allocations: 179.2 kB / 1.021 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.0221, allocations: 61.91 kB / 1.021 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.02222, allocations: 108.5 kB / 1.021 GB, free: 6.734 MB / 0.9792 GB Notification: Performance of SimCode: time 7.22e-07/0.02222, allocations: 0 / 1.021 GB, free: 6.734 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.04203, allocations: 9.608 MB / 1.031 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.308/6.35, allocations: 2.578 kB / 1.031 GB, free: 13.35 MB / 0.9948 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.519879341125488]