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.0008235/0.0008235, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001481/0.001481, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8716/0.8716, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.799/1.799, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.916e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001657/0.001686, allocations: 0.814 MB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001453/0.001831, allocations: 63.75 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.001884, allocations: 7.875 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.001922, allocations: 7.875 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.002033, allocations: 19.8 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.743e-05/0.00208, allocations: 19.98 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.002203, allocations: 83.77 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.002354, allocations: 37.27 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.002465, allocations: 55.84 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.002517, allocations: 23.89 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.002543, allocations: 8 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.002551, allocations: 8 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.002573, allocations: 19.92 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.002608, allocations: 27.86 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.002732, allocations: 95.66 kB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.002735, allocations: 0 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.714e-06/0.002736, allocations: 0 / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.002741, allocations: 0 / 1.001 GB, free: 12.21 MB / 0.9636 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.0004087/0.00315, allocations: 330 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.003198, allocations: 12.75 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.003239, allocations: 42.73 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.003268, allocations: 12.89 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.003449, allocations: 145.7 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.003461, allocations: 8.562 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.003474, allocations: 12.38 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.003618, allocations: 110.2 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.003626, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.003637, allocations: 4 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.003645, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.265e-05/0.003718, allocations: 47.98 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.004187, allocations: 419.6 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.004255, allocations: 41.22 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.004296, allocations: 33.77 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.004303, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.004327, allocations: 42.5 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.004328, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001589/0.004487, allocations: 69.58 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.004522, allocations: 81.11 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.004634, allocations: 175.5 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.004644, allocations: 25.7 kB / 1.002 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.004696, allocations: 108 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.004707, allocations: 15.91 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.004737, allocations: 25.66 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.004816, allocations: 322.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.004833, allocations: 15.92 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.004856, allocations: 25.97 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.004903, allocations: 33.66 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.004906, allocations: 3.984 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.02e-05/0.004976, allocations: 65.64 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.004989, allocations: 4 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004994, allocations: 0 / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005005, allocations: 0 / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.005062, allocations: 15.94 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.005067, allocations: 4 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.005088, allocations: 7.984 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.005093, allocations: 4 kB / 1.003 GB, free: 9.746 MB / 0.9636 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 6.438e-05/0.005158, allocations: 121.8 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.005184, allocations: 15.92 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.005205, allocations: 12.66 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005208, allocations: 0 / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.005212, allocations: 0 / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.005216, allocations: 4 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.00554, allocations: 483.4 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.005542, allocations: 4 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.005561, allocations: 8.109 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.005565, allocations: 8 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.005572, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.005574, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.005578, allocations: 7.938 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.353e-05/0.005661, allocations: 100.4 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.005687, allocations: 15.94 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.005701, allocations: 4 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.005715, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.005732, allocations: 8.062 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.005736, allocations: 4 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.38e-05/0.00582, allocations: 132.9 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00582, allocations: 3.938 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001382/0.005958, allocations: 11.95 kB / 1.004 GB, free: 8.719 MB / 0.9636 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.0003042/0.006262, allocations: 0.6422 MB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.144e-05/0.006354, allocations: 39.86 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006356, allocations: 0 / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.006368, allocations: 8.188 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.006504, allocations: 14.3 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.007674, allocations: 1.44 MB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.007745, allocations: 84.91 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.007796, allocations: 12.42 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.007852, allocations: 36.48 kB / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.007853, allocations: 0 / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.02436, allocations: 2.345 MB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.779/6.803, allocations: 15.17 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/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: 11.023770942352712]