Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001811/0.001811, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002237/0.002237, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.801 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 3.194/3.194, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",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.002081/0.002081, allocations: 71.48 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002168/0.3735, allocations: 0.8385 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.3737, allocations: 51.72 kB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.3737, allocations: 4 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.3738, allocations: 11.86 kB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3739, allocations: 7.875 kB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.535e-05/0.3739, allocations: 31.97 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3741, allocations: 83.77 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3742, allocations: 37.28 kB / 1.326 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.3743, allocations: 51.67 kB / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.3744, allocations: 27.78 kB / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3744, allocations: 8 kB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.3744, allocations: 8 kB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.3744, allocations: 19.92 kB / 1.326 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.3745, allocations: 35.8 kB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3746, allocations: 107.7 kB / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3746, allocations: 0 / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3746, allocations: 0 / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.3746, allocations: 0 / 1.326 GB, free: 1.035 MB / 1.014 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.0005393/0.3752, allocations: 326 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3752, allocations: 12.03 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.3753, allocations: 42.73 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.3753, allocations: 8.891 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3755, allocations: 142.5 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3755, allocations: 8.562 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3756, allocations: 12.38 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3758, allocations: 112.9 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3758, allocations: 0 / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3758, allocations: 8 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3758, allocations: 4 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3759, allocations: 47.91 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.3766, allocations: 419.9 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.3767, allocations: 49.22 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3767, allocations: 33.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3768, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3768, allocations: 34.56 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.3768, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000214/0.377, allocations: 65.55 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.3771, allocations: 85.09 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3773, allocations: 167.3 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3773, allocations: 25.7 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.3774, allocations: 108.2 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3774, allocations: 19.89 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.3774, allocations: 21.67 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3776, allocations: 330.7 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.3776, allocations: 8 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.3776, allocations: 25.7 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.3777, allocations: 33.66 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3777, allocations: 0 / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000114/0.3778, allocations: 77.59 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3778, allocations: 4 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3778, allocations: 3.938 kB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3778, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.3779, allocations: 16 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.3779, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.3779, allocations: 7.953 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.378, allocations: 3.938 kB / 1.329 GB, free: 14.57 MB / 1.029 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.163e-05/0.378, allocations: 116.1 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.3781, allocations: 7.953 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.3781, allocations: 16.64 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3781, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3781, allocations: 4 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3781, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.3786, allocations: 491.4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3786, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.3787, allocations: 11.98 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3787, allocations: 3.938 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.3787, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3787, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3787, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.3788, allocations: 103.6 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.3788, allocations: 20.09 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.3789, allocations: 15.92 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.069e-05/0.3789, allocations: 4 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.3789, allocations: 4 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.3789, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001066/0.379, allocations: 128.9 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.379, allocations: 0 / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002007/0.3792, allocations: 8 kB / 1.329 GB, free: 13.55 MB / 1.029 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.0004665/0.3797, allocations: 0.6422 MB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3798, allocations: 35.88 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3798, allocations: 0 / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.3798, allocations: 15.92 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.38, allocations: 13.19 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3815, allocations: 1.429 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.022e-05/0.3816, allocations: 88.44 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.3816, allocations: 8.812 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.3817, allocations: 31.42 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3817, allocations: 3.938 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.4124, allocations: 2.223 MB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.87, allocations: 1.547 kB / 1.334 GB, free: 9.039 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.726014206651598]