Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001361/0.001361, allocations: 106.6 kB / 16.45 MB, free: 6.035 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.001342/0.001342, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.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.805/2.805, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 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.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.91 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8557, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002166/0.8579, allocations: 0.8913 MB / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.858, allocations: 59.77 kB / 1.27 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.8581, allocations: 4 kB / 1.27 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.612e-05/0.8581, allocations: 11.81 kB / 1.27 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.8582, allocations: 7.875 kB / 1.27 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.468e-05/0.8583, allocations: 23.97 kB / 1.27 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.8584, allocations: 87.75 kB / 1.27 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.8585, allocations: 33.11 kB / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.8586, allocations: 35.8 kB / 1.27 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.8587, allocations: 35.78 kB / 1.27 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.8587, allocations: 8 kB / 1.27 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.8587, allocations: 12 kB / 1.27 GB, free: 4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.8588, allocations: 19.92 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.8588, allocations: 43.69 kB / 1.27 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.859, allocations: 101.3 kB / 1.27 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.859, allocations: 4 kB / 1.27 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.859, allocations: 0 / 1.27 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.859, allocations: 0 / 1.27 GB, free: 3.836 MB / 0.9669 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.0005474/0.8595, allocations: 399.2 kB / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.8596, allocations: 8.031 kB / 1.27 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.927e-05/0.8596, allocations: 46.73 kB / 1.271 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.8597, allocations: 16.84 kB / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.86, allocations: 208.3 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.86, allocations: 4.562 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.86, allocations: 8.375 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.8602, allocations: 113.9 kB / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8602, allocations: 3.938 kB / 1.271 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.8602, allocations: 4 kB / 1.271 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8603, allocations: 8 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.173e-05/0.8603, allocations: 43.92 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.861, allocations: 460.5 kB / 1.271 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.61e-05/0.8611, allocations: 37.16 kB / 1.271 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.8611, allocations: 25.77 kB / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.8612, allocations: 0 / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.8612, allocations: 34.56 kB / 1.271 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8612, allocations: 3.938 kB / 1.271 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.8614, allocations: 53.61 kB / 1.272 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.8614, allocations: 85.3 kB / 1.272 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.8616, allocations: 191.1 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.8617, allocations: 25.7 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.8617, allocations: 108.1 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.8618, allocations: 11.89 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.8618, allocations: 21.64 kB / 1.272 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.862, allocations: 318.8 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.862, allocations: 7.984 kB / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.862, allocations: 25.72 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.8621, allocations: 21.72 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8621, allocations: 0 / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.8622, allocations: 65.53 kB / 1.272 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8622, allocations: 8.219 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8622, allocations: 0 / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8622, allocations: 3.938 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.8623, allocations: 8.062 kB / 1.272 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8623, allocations: 4 kB / 1.272 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.8623, allocations: 7.891 kB / 1.272 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.8623, allocations: 4 kB / 1.272 GB, free: 1.215 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001076/0.8624, allocations: 117.8 kB / 1.272 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.8625, allocations: 7.953 kB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.8625, allocations: 16.55 kB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8625, allocations: 0 / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8625, allocations: 0 / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.8625, allocations: 11.94 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.863, allocations: 478.7 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.863, allocations: 4 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.863, allocations: 4 kB / 1.273 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.863, allocations: 3.938 kB / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.863, allocations: 0 / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.863, allocations: 4 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.863, allocations: 4.062 kB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.8631, allocations: 81.89 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.8632, allocations: 93.08 kB / 1.273 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.8632, allocations: 3.938 kB / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/0.8632, allocations: 7.984 kB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.8632, allocations: 0 / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.8632, allocations: 4.031 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001825/0.8634, allocations: 140.3 kB / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8634, allocations: 0 / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000188/0.8636, allocations: 11.95 kB / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000446/0.864, allocations: 0.6172 MB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.8641, allocations: 19.94 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8641, allocations: 0 / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.8641, allocations: 4 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.8643, allocations: 14.44 kB / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.8657, allocations: 1.399 MB / 1.275 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.8661, allocations: 0.6963 MB / 1.276 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.8661, allocations: 8.547 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.8661, allocations: 27.44 kB / 1.276 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8661, allocations: 11.94 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.8919, allocations: 1.738 MB / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.617/9.509, allocations: 14.42 kB / 1.278 GB, free: 11.52 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.698513855226338]