Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001702/0.001702, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00222/0.00222, allocations: 215 kB / 20.13 MB, free: 2.949 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.423/1.423, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.857/2.857, allocations: 0.49 GB / 0.7923 GB, free: 1.371 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.ASHRAESolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001901/0.001901, allocations: 63.89 kB / 1.15 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8316, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002537/0.8342, allocations: 2.216 MB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003602/0.8378, allocations: 4.226 MB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.8379, allocations: 6.469 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.8385, allocations: 185.8 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.8386, allocations: 82.86 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.8392, allocations: 323.2 kB / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.8398, allocations: 453.3 kB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8399, allocations: 56.22 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.8401, allocations: 136.2 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.8403, allocations: 163.2 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.8403, allocations: 24.72 kB / 1.329 GB, free: 19.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.8408, allocations: 331.4 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.8409, allocations: 115.2 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.841, allocations: 171 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007684/0.8418, allocations: 0.5813 MB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8418, allocations: 4.531 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8418, allocations: 0.625 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.8418, allocations: 0.75 kB / 1.33 GB, free: 19.12 MB / 1.061 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.001506/0.8433, allocations: 0.8224 MB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.8434, allocations: 15.08 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.333e-05/0.8434, allocations: 1.969 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.8434, allocations: 44.39 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.8449, allocations: 242.8 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.8457, allocations: 413.4 kB / 1.332 GB, free: 18.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.8457, allocations: 12.41 kB / 1.332 GB, free: 18.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.8458, allocations: 11.25 kB / 1.332 GB, free: 18.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.8465, allocations: 247.9 kB / 1.332 GB, free: 18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8465, allocations: 0 / 1.332 GB, free: 18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.8465, allocations: 5.219 kB / 1.332 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8465, allocations: 3.266 kB / 1.332 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.8476, allocations: 333.3 kB / 1.332 GB, free: 17.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.849, allocations: 0.6869 MB / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.8497, allocations: 216.3 kB / 1.333 GB, free: 17.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/0.8502, allocations: 175.7 kB / 1.333 GB, free: 17.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.8502, allocations: 23.09 kB / 1.333 GB, free: 17.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.8503, allocations: 33.47 kB / 1.333 GB, free: 17.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.8503, allocations: 0 / 1.333 GB, free: 17.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.001851/0.8521, allocations: 0.5691 MB / 1.334 GB, free: 17.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.8521, allocations: 56.34 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.8526, allocations: 447.8 kB / 1.334 GB, free: 16.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.8526, allocations: 30.77 kB / 1.335 GB, free: 16.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.8528, allocations: 208.2 kB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.8528, allocations: 49.33 kB / 1.335 GB, free: 16.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.8529, allocations: 54.36 kB / 1.335 GB, free: 16.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.853, allocations: 351 kB / 1.335 GB, free: 16.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/0.8538, allocations: 293.4 kB / 1.335 GB, free: 16.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.8545, allocations: 293 kB / 1.336 GB, free: 16.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.8557, allocations: 0.5126 MB / 1.336 GB, free: 16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8557, allocations: 1.219 kB / 1.336 GB, free: 16 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001417/0.8571, allocations: 0.7143 MB / 1.337 GB, free: 15.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.8572, allocations: 46.44 kB / 1.337 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8572, allocations: 0 / 1.337 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8572, allocations: 2.031 kB / 1.337 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.8577, allocations: 68.3 kB / 1.337 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8577, allocations: 3.938 kB / 1.337 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.8581, allocations: 53.84 kB / 1.337 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.8581, allocations: 8.484 kB / 1.337 GB, free: 15.71 MB / 1.061 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.0001688/0.8583, allocations: 161.4 kB / 1.337 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.8584, allocations: 44.06 kB / 1.337 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.8597, allocations: 438.8 kB / 1.338 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8597, allocations: 2.031 kB / 1.338 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8597, allocations: 8.734 kB / 1.338 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8597, allocations: 2.703 kB / 1.338 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.8601, allocations: 379.4 kB / 1.338 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8601, allocations: 0 / 1.338 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.8605, allocations: 62.34 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8605, allocations: 0 / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.8605, allocations: 4.422 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8605, allocations: 1.562 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8605, allocations: 4.734 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.8617, allocations: 0.5015 MB / 1.339 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.8618, allocations: 135.4 kB / 1.339 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.8619, allocations: 4.75 kB / 1.339 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.8622, allocations: 34.45 kB / 1.339 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.8623, allocations: 28.06 kB / 1.339 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.8623, allocations: 9.078 kB / 1.339 GB, free: 14.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002855/0.8626, allocations: 307.2 kB / 1.339 GB, free: 14.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8626, allocations: 1.312 kB / 1.339 GB, free: 14.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000546/0.8632, allocations: 134.2 kB / 1.339 GB, free: 14.6 MB / 1.061 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.001592/0.8647, allocations: 1.113 MB / 1.34 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.8661, allocations: 0.6208 MB / 1.341 GB, free: 13.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8661, allocations: 5.875 kB / 1.341 GB, free: 13.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.8667, allocations: 185.2 kB / 1.341 GB, free: 13.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.8671, allocations: 67.56 kB / 1.341 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007187/0.8743, allocations: 5.278 MB / 1.346 GB, free: 11.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.8746, allocations: 0.7964 MB / 1.347 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.8748, allocations: 62.2 kB / 1.347 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.875, allocations: 119.9 kB / 1.347 GB, free: 10.21 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.875, allocations: 1.094 kB / 1.347 GB, free: 10.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.9026, allocations: 9.375 MB / 1.356 GB, free: 9.301 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/9.301, allocations: 12.31 kB / 1.356 GB, free: 9.293 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.367661174968816]