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.001103/0.001103, 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.001088/0.001088, 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.9037/0.9037, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.738/1.738, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.835e-05, allocations: 10.22 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001489/0.001518, allocations: 0.8373 MB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.001643, allocations: 51.77 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.001693, allocations: 8 kB / 0.9819 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.00173, allocations: 15.8 kB / 0.9819 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.00182, allocations: 3.938 kB / 0.9819 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.44e-05/0.001865, allocations: 23.97 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.001969, allocations: 87.7 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.002102, allocations: 41.14 kB / 0.982 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.002204, allocations: 59.81 kB / 0.9821 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.002252, allocations: 23.84 kB / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.00228, allocations: 8 kB / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.002289, allocations: 12 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.002309, allocations: 15.94 kB / 0.9821 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.002341, allocations: 27.91 kB / 0.9822 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.002486, allocations: 99.59 kB / 0.9823 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002488, allocations: 0 / 0.9823 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.804e-06/0.00249, allocations: 0 / 0.9823 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.002495, allocations: 0 / 0.9823 GB, free: 1.27 MB / 0.9323 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.0004592/0.002954, allocations: 322.1 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.002995, allocations: 12.03 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.003035, allocations: 38.73 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.003061, allocations: 20.84 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.003232, allocations: 145.7 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.003241, allocations: 4.562 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.003251, allocations: 8.375 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.003388, allocations: 108.1 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.003397, allocations: 7.938 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.003408, allocations: 8 kB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.003413, allocations: 0 / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.003484, allocations: 51.91 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.003902, allocations: 415.7 kB / 0.9833 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.003985, allocations: 53.14 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.004022, allocations: 25.78 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.004031, allocations: 0 / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.004052, allocations: 42.55 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.004053, allocations: 0 / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001521/0.004205, allocations: 61.59 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.004244, allocations: 81.3 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.004364, allocations: 181.1 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.004374, allocations: 25.7 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.00443, allocations: 112 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-06/0.004438, allocations: 11.91 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.004465, allocations: 17.72 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.004666, allocations: 322.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.004683, allocations: 12 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.004708, allocations: 25.7 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.004751, allocations: 37.7 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.004753, allocations: 0 / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.645e-05/0.00482, allocations: 73.58 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.004833, allocations: 4 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.004838, allocations: 0 / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.004852, allocations: 0 / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.004914, allocations: 11.98 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.004921, allocations: 4 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.00494, allocations: 7.891 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.004946, allocations: 4.219 kB / 0.9844 GB, free: 14.82 MB / 0.948 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.005e-05/0.005006, allocations: 125.7 kB / 0.9845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.005029, allocations: 15.84 kB / 0.9845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.00505, allocations: 20.64 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005052, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.005056, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005059, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.005353, allocations: 475.5 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.005356, allocations: 4 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.005372, allocations: 7.938 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005375, allocations: 4 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005381, allocations: 4 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.005383, allocations: 8.109 kB / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.005388, allocations: 7.938 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.177e-05/0.005459, allocations: 99.61 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.005482, allocations: 12.02 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.005493, allocations: 8 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.005507, allocations: 4 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.005521, allocations: 7.922 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005524, allocations: 4 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.005591, allocations: 125.6 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005591, allocations: 0 / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001227/0.005714, allocations: 12 kB / 0.9853 GB, free: 13.8 MB / 0.948 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.000274/0.005988, allocations: 0.6422 MB / 0.9859 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.006096, allocations: 43.98 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.006099, allocations: 0 / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.13e-05/0.006111, allocations: 12 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.006236, allocations: 11.98 kB / 0.986 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.007257, allocations: 1.43 MB / 0.9874 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.007539, allocations: 84.31 kB / 0.9875 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.007573, allocations: 8.484 kB / 0.9875 GB, free: 11.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.007627, allocations: 24.5 kB / 0.9875 GB, free: 11.38 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.007628, allocations: 3.938 kB / 0.9875 GB, free: 11.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.02408, allocations: 2.357 MB / 0.9898 GB, free: 9.156 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.636, allocations: 7.188 kB / 0.9898 GB, free: 9.152 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.736554902978241]