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.001536/0.001536, 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.001716/0.001716, 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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 2.849/2.849, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_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.003243/0.003243, allocations: 67.91 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8156, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003305/0.8189, allocations: 2.222 MB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004737/0.8236, allocations: 4.218 MB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.8238, allocations: 5.844 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007699/0.8245, allocations: 185.9 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.8247, allocations: 79.14 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.8255, allocations: 330.8 kB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007205/0.8262, allocations: 449.3 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.8264, allocations: 53.78 kB / 1.347 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.8266, allocations: 139.3 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.8268, allocations: 165.3 kB / 1.348 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.8269, allocations: 20.62 kB / 1.348 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.8275, allocations: 331.5 kB / 1.348 GB, free: 11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.8276, allocations: 119.8 kB / 1.348 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.8278, allocations: 167.1 kB / 1.348 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.8287, allocations: 0.5908 MB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8287, allocations: 4 kB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8287, allocations: 0.5625 kB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.8287, allocations: 0 / 1.349 GB, free: 10.62 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.001433/0.8302, allocations: 0.8188 MB / 1.35 GB, free: 9.984 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.8302, allocations: 9.406 kB / 1.35 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.488e-05/0.8302, allocations: 4.234 kB / 1.35 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.8302, allocations: 39.73 kB / 1.35 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.8323, allocations: 321.6 kB / 1.35 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.8332, allocations: 416.5 kB / 1.351 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.8333, allocations: 12.19 kB / 1.351 GB, free: 9.586 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.8333, allocations: 11.78 kB / 1.351 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.834, allocations: 263 kB / 1.351 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.834, allocations: 9.016 kB / 1.351 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.8341, allocations: 1.875 kB / 1.351 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.8341, allocations: 2.469 kB / 1.351 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.8351, allocations: 350 kB / 1.351 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.8367, allocations: 0.7067 MB / 1.352 GB, free: 9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.8373, allocations: 218.5 kB / 1.352 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.8378, allocations: 175.6 kB / 1.352 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/0.8379, allocations: 23.16 kB / 1.352 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.8379, allocations: 37.02 kB / 1.352 GB, free: 8.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.8379, allocations: 0 / 1.352 GB, free: 8.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.001867/0.8398, allocations: 0.5963 MB / 1.353 GB, free: 8.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.8398, allocations: 57.11 kB / 1.353 GB, free: 8.594 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.8403, allocations: 447.6 kB / 1.353 GB, free: 8.395 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.8403, allocations: 30.77 kB / 1.353 GB, free: 8.359 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.8404, allocations: 197.2 kB / 1.354 GB, free: 8.195 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.8404, allocations: 44.02 kB / 1.354 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.8406, allocations: 56.62 kB / 1.354 GB, free: 8.129 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.8406, allocations: 354.6 kB / 1.354 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.8413, allocations: 300.9 kB / 1.354 GB, free: 7.727 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.842, allocations: 303.8 kB / 1.355 GB, free: 7.656 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.8432, allocations: 0.5339 MB / 1.355 GB, free: 7.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8432, allocations: 0 / 1.355 GB, free: 7.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001474/0.8447, allocations: 0.7354 MB / 1.356 GB, free: 7.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.8447, allocations: 47.08 kB / 1.356 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8447, allocations: 0.9688 kB / 1.356 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.8447, allocations: 1.797 kB / 1.356 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.8452, allocations: 68.7 kB / 1.356 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.8452, allocations: 5.938 kB / 1.356 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.8456, allocations: 49.23 kB / 1.356 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.8457, allocations: 13.48 kB / 1.356 GB, free: 7.18 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.0001377/0.8458, allocations: 158.5 kB / 1.356 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.8459, allocations: 41.36 kB / 1.356 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.8472, allocations: 466 kB / 1.357 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8472, allocations: 1.797 kB / 1.357 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8472, allocations: 5.062 kB / 1.357 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8472, allocations: 0.75 kB / 1.357 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.8476, allocations: 389.9 kB / 1.357 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.8476, allocations: 0 / 1.357 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.8481, allocations: 68.2 kB / 1.357 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8481, allocations: 1.031 kB / 1.357 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.8481, allocations: 5.531 kB / 1.357 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8481, allocations: 0 / 1.357 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8481, allocations: 5.062 kB / 1.357 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.8493, allocations: 0.5156 MB / 1.358 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.8494, allocations: 140.5 kB / 1.358 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.8495, allocations: 1.5 kB / 1.358 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.8498, allocations: 37.78 kB / 1.358 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.8499, allocations: 24.89 kB / 1.358 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.8499, allocations: 6.656 kB / 1.358 GB, free: 6.211 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002876/0.8502, allocations: 310.9 kB / 1.358 GB, free: 6.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8502, allocations: 3.938 kB / 1.358 GB, free: 6.062 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005319/0.8508, allocations: 134.4 kB / 1.358 GB, free: 6.039 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.001568/0.8523, allocations: 1.118 MB / 1.359 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.8537, allocations: 0.6428 MB / 1.36 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8537, allocations: 0 / 1.36 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.8543, allocations: 186.9 kB / 1.36 GB, free: 5.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.8548, allocations: 74.94 kB / 1.36 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.8619, allocations: 5.322 MB / 1.365 GB, free: 2.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.8622, allocations: 0.8009 MB / 1.366 GB, free: 1.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002936/0.8625, allocations: 65.73 kB / 1.366 GB, free: 1.711 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.8627, allocations: 121.5 kB / 1.366 GB, free: 1.621 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/0.8627, allocations: 4 kB / 1.366 GB, free: 1.617 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.8912, allocations: 9.485 MB / 1.376 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/9.231, allocations: 11.05 kB / 1.376 GB, free: 0.6914 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.372534390015062]