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.0008712/0.0008712, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000948/0.000948, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8862/0.8862, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.692/1.692, allocations: 389 MB / 0.633 GB, free: 12.66 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 1.403e-06/1.403e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.069e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001445/0.001466, allocations: 0.8335 MB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.001582, allocations: 59.7 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.001626, allocations: 3.938 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.001658, allocations: 7.875 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.00174, allocations: 19.8 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.651e-05/0.001776, allocations: 23.98 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.001868, allocations: 83.75 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.001981, allocations: 37.28 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/0.002065, allocations: 55.83 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.002103, allocations: 23.91 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.002124, allocations: 8 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.00213, allocations: 4 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.002149, allocations: 27.84 kB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.002174, allocations: 19.94 kB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.816e-05/0.002272, allocations: 103.6 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002274, allocations: 0 / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002275, allocations: 0 / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.00228, allocations: 3.984 kB / 1.001 GB, free: 12.14 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.0003274/0.002607, allocations: 326 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.002645, allocations: 12.73 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.002677, allocations: 38.75 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.019e-05/0.002697, allocations: 8.891 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.00286, allocations: 153.7 kB / 1.001 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.002869, allocations: 4.562 kB / 1.001 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.00288, allocations: 16.38 kB / 1.001 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.003015, allocations: 108.1 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003022, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.00303, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.003036, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.003101, allocations: 47.92 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.003478, allocations: 411.7 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.003536, allocations: 53.16 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.00357, allocations: 29.77 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.003578, allocations: 4 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.003594, allocations: 30.78 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.003595, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001396/0.003735, allocations: 81.5 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.003772, allocations: 77.11 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.003875, allocations: 171.2 kB / 1.002 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.003884, allocations: 25.7 kB / 1.002 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.003933, allocations: 116.2 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-06/0.00394, allocations: 11.91 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.003967, allocations: 25.66 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.004041, allocations: 322.8 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.004057, allocations: 15.92 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.004077, allocations: 25.72 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.004115, allocations: 41.64 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004117, allocations: 0 / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.077e-05/0.004178, allocations: 69.58 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.004189, allocations: 4 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004194, allocations: 4 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.004204, allocations: 4 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/0.00425, allocations: 8 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.004255, allocations: 0 / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.004276, allocations: 11.89 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.004279, allocations: 0 / 1.003 GB, free: 9.684 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 5.684e-05/0.004336, allocations: 125.8 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.004357, allocations: 7.953 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.004376, allocations: 12.66 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.004378, allocations: 4 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.004382, allocations: 0 / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.004384, allocations: 4 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.004652, allocations: 483.4 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004653, allocations: 0 / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.004667, allocations: 8 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004668, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.004678, allocations: 4 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.00468, allocations: 4 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.004682, allocations: 3.938 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.766e-05/0.00475, allocations: 100.5 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.004769, allocations: 15.94 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-06/0.004777, allocations: 4 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.004791, allocations: 7.938 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.004803, allocations: 7.938 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/0.004804, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.004866, allocations: 124.9 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004866, allocations: 0 / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001272/0.004993, allocations: 19.94 kB / 1.004 GB, free: 8.664 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.0002199/0.005213, allocations: 0.6413 MB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.361e-05/0.005287, allocations: 39.84 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005288, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.005301, allocations: 11.94 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.005414, allocations: 9.875 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.006257, allocations: 1.438 MB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.006307, allocations: 89.16 kB / 1.006 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.006334, allocations: 12.42 kB / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.006377, allocations: 32.48 kB / 1.006 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of SimCode: time 2.51e-07/0.006377, allocations: 0 / 1.006 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.02191, allocations: 2.347 MB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.502/6.524, allocations: 8.062 kB / 1.009 GB, free: 4.016 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 & /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/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: 10.395745406858623]