Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0007738/0.0007738, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008276/0.0008276, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8496/0.8496, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7/1.7, allocations: 389 MB / 0.633 GB, free: 12.68 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.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.103e-06/1.103e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.15e-05, allocations: 9.031 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001974/0.001986, allocations: 2.098 MB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.005684, allocations: 3.915 MB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.005773, allocations: 11.88 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.006388, allocations: 175.1 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.006498, allocations: 83.22 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.006977, allocations: 339 kB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.007412, allocations: 470.4 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.007503, allocations: 32.86 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.007649, allocations: 187.6 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.007765, allocations: 127.7 kB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.007792, allocations: 24 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.008137, allocations: 335.4 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.008225, allocations: 111.7 kB / 1.007 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.00831, allocations: 111.7 kB / 1.007 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.008784, allocations: 0.6425 MB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.008786, allocations: 0 / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.008787, allocations: 4 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.008791, allocations: 0 / 1.008 GB, free: 4.766 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008103/0.009601, allocations: 0.7431 MB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.009635, allocations: 12.75 kB / 1.009 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.009666, allocations: 42.73 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.01055, allocations: 312.2 kB / 1.009 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.01104, allocations: 348 kB / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.01105, allocations: 12.5 kB / 1.01 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.01107, allocations: 12.38 kB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.01145, allocations: 265.5 kB / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.01146, allocations: 0 / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.01148, allocations: 4 kB / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.01148, allocations: 0 / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.01201, allocations: 347.7 kB / 1.01 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.0128, allocations: 0.6283 MB / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.01311, allocations: 226.4 kB / 1.011 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.01338, allocations: 180.7 kB / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.01342, allocations: 19.98 kB / 1.011 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.01344, allocations: 42.5 kB / 1.011 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.01344, allocations: 3.938 kB / 1.011 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0009159/0.01436, allocations: 0.591 MB / 1.012 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.01438, allocations: 51.41 kB / 1.012 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.01466, allocations: 445.9 kB / 1.012 GB, free: 360 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01469, allocations: 29.7 kB / 1.012 GB, free: 324 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.01477, allocations: 196.5 kB / 1.012 GB, free: 124 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.01481, allocations: 47.58 kB / 1.012 GB, free: 76 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.01488, allocations: 57.67 kB / 1.013 GB, free: 12 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.01497, allocations: 350.7 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.01533, allocations: 345.7 kB / 1.013 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.01567, allocations: 347.8 kB / 1.014 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.01629, allocations: 0.5382 MB / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01629, allocations: 0 / 1.014 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000797/0.01709, allocations: 0.7829 MB / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.01712, allocations: 41.69 kB / 1.015 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.01712, allocations: 0 / 1.015 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.01713, allocations: 4 kB / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.01736, allocations: 71.86 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01736, allocations: 4 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01753, allocations: 51.78 kB / 1.015 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01754, allocations: 11.98 kB / 1.015 GB, free: 13.44 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 (18): * Single equations (assignments): 17 * 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.0001074/0.01765, allocations: 161.8 kB / 1.015 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.01769, allocations: 43.72 kB / 1.015 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.01837, allocations: 467.5 kB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01837, allocations: 4 kB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01838, allocations: 0 / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01838, allocations: 0 / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.01862, allocations: 324.3 kB / 1.016 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01862, allocations: 0 / 1.016 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.01879, allocations: 55.92 kB / 1.016 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01879, allocations: 4 kB / 1.016 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.01881, allocations: 7.984 kB / 1.016 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01881, allocations: 4 kB / 1.016 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01881, allocations: 0 / 1.016 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.01943, allocations: 0.5184 MB / 1.017 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.01951, allocations: 63.69 kB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.01954, allocations: 3.984 kB / 1.017 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.0197, allocations: 35.95 kB / 1.017 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.01975, allocations: 19.97 kB / 1.017 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01976, allocations: 11.98 kB / 1.017 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001953/0.01996, allocations: 311.1 kB / 1.017 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01996, allocations: 0 / 1.017 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002741/0.02023, allocations: 135.7 kB / 1.017 GB, free: 11.24 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 (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.0009397/0.02117, allocations: 1.141 MB / 1.018 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007429/0.02191, allocations: 0.6374 MB / 1.019 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02191, allocations: 4 kB / 1.019 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.02219, allocations: 186.8 kB / 1.019 GB, free: 9.23 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.02249, allocations: 64.72 kB / 1.019 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.02687, allocations: 5.476 MB / 1.024 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.02698, allocations: 187.5 kB / 1.025 GB, free: 3.375 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000169/0.02715, allocations: 69.91 kB / 1.025 GB, free: 3.301 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.02729, allocations: 120.4 kB / 1.025 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of SimCode: time 4.5e-07/0.02729, allocations: 0 / 1.025 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.04775, allocations: 10.45 MB / 1.035 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/6.635, allocations: 4.953 kB / 1.035 GB, free: 8.953 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.914196277968585]