Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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.001404/0.001404, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001537/0.001537, allocations: 217.7 kB / 23.03 MB, free: 4.945 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 3.329/3.329, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",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.002006/0.002006, allocations: 61.53 kB / 1.17 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002316/0.4073, allocations: 0.8374 MB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.4074, allocations: 59.75 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.4075, allocations: 0 / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.4076, allocations: 11.81 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.4077, allocations: 15.86 kB / 1.346 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.007e-05/0.4077, allocations: 23.97 kB / 1.346 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.4079, allocations: 79.78 kB / 1.346 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.408, allocations: 41.03 kB / 1.346 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.4081, allocations: 47.8 kB / 1.346 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.4082, allocations: 35.77 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.4082, allocations: 8 kB / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.4082, allocations: 8 kB / 1.346 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.4083, allocations: 23.88 kB / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.4083, allocations: 31.8 kB / 1.346 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.4085, allocations: 103.8 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4085, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4085, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.4085, allocations: 7.938 kB / 1.347 GB, free: 14.61 MB / 1.045 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.0004643/0.409, allocations: 326 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.409, allocations: 12.03 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/0.409, allocations: 4.375 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.4091, allocations: 38.69 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.4091, allocations: 16.84 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.4093, allocations: 138.6 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4093, allocations: 8.562 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.4094, allocations: 15.94 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.4096, allocations: 103.3 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4096, allocations: 4 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4096, allocations: 4 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4096, allocations: 0 / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.259e-05/0.4097, allocations: 47.92 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.4103, allocations: 427.6 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/0.4104, allocations: 45.2 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.4104, allocations: 29.78 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.4104, allocations: 4 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4105, allocations: 38.5 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4105, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.4107, allocations: 61.64 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.4107, allocations: 85.05 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.4109, allocations: 176.4 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.4109, allocations: 25.7 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.411, allocations: 112 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.411, allocations: 15.89 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.4111, allocations: 17.97 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4112, allocations: 326.8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.4113, allocations: 8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.4113, allocations: 25.7 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.4114, allocations: 29.72 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/0.4114, allocations: 3.938 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001081/0.4115, allocations: 69.64 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4115, allocations: 4 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4115, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4115, allocations: 4.125 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.4116, allocations: 11.98 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4116, allocations: 12.16 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.4116, allocations: 11.83 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4116, allocations: 7.938 kB / 1.349 GB, free: 12.14 MB / 1.045 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 (6): * Single equations (assignments): 6 * 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 9.006e-05/0.4117, allocations: 113.8 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.4118, allocations: 7.953 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.4118, allocations: 16.69 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4118, allocations: 3.984 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4118, allocations: 3.984 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4118, allocations: 7.938 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4123, allocations: 483.5 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4123, allocations: 0 / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.4123, allocations: 7.938 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4123, allocations: 4 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.4123, allocations: 0 / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4123, allocations: 0 / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.4123, allocations: 4 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4125, allocations: 103.6 kB / 1.349 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.4125, allocations: 23.83 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.4125, allocations: 4.125 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.4125, allocations: 4 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.4126, allocations: 7.984 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.4126, allocations: 0 / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001082/0.4127, allocations: 128 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4127, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001971/0.4129, allocations: 11.94 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0004803/0.4134, allocations: 0.637 MB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.4135, allocations: 31.92 kB / 1.35 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4135, allocations: 4 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.4135, allocations: 8 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.4136, allocations: 14.19 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4151, allocations: 1.438 MB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.4152, allocations: 84.44 kB / 1.352 GB, free: 8.754 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.4152, allocations: 12.48 kB / 1.352 GB, free: 8.742 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.4153, allocations: 27.42 kB / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4153, allocations: 0 / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.4372, allocations: 1.886 MB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.62, allocations: 9.938 kB / 1.354 GB, free: 6.969 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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: 18.93063484504819]