Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.0007639/0.0007639, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007993/0.0007993, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8971/0.8971, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.712/1.712, allocations: 377.9 MB / 0.6221 GB, free: 8.652 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_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.431e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001345/0.00136, allocations: 0.7945 MB / 0.9817 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.557e-05/0.001455, allocations: 43.78 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.001498, allocations: 0 / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.001531, allocations: 11.86 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.0016, allocations: 7.922 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.556e-05/0.001636, allocations: 19.98 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.001725, allocations: 63.78 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.001842, allocations: 31.97 kB / 0.9819 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.001922, allocations: 43.89 kB / 0.982 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.00196, allocations: 11.92 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.001982, allocations: 4 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.001989, allocations: 8 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.002007, allocations: 19.91 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.002033, allocations: 15.94 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002134, allocations: 83.62 kB / 0.9821 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.002137, allocations: 3.938 kB / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002138, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.002142, allocations: 0 / 0.9821 GB, free: 1.418 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003463/0.002489, allocations: 302 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.002536, allocations: 8.031 kB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.002574, allocations: 42.73 kB / 0.9824 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.002601, allocations: 12.84 kB / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.002766, allocations: 133.6 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.002777, allocations: 8.375 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.002789, allocations: 4.375 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.002916, allocations: 91.95 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.002926, allocations: 4.172 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.002937, allocations: 12.36 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.002943, allocations: 8.062 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.003003, allocations: 39.92 kB / 0.9827 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.003449, allocations: 391.9 kB / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.0035, allocations: 37.25 kB / 0.9831 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.003529, allocations: 21.77 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.003536, allocations: 0 / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.003559, allocations: 34.56 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.003561, allocations: 0 / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001513/0.003712, allocations: 53.59 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.003765, allocations: 85.05 kB / 0.9833 GB, free: 15.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.003873, allocations: 160.3 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.003885, allocations: 25.7 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.003933, allocations: 104 kB / 0.9836 GB, free: 15.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.003941, allocations: 11.89 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.003966, allocations: 13.72 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.00404, allocations: 322.8 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.004054, allocations: 8 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.00407, allocations: 21.64 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.004103, allocations: 29.97 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004105, allocations: 3.938 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.514e-05/0.00416, allocations: 61.58 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.004171, allocations: 4 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004176, allocations: 0 / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.004188, allocations: 0 / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.004238, allocations: 11.94 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.004242, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.004258, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.004262, allocations: 8.062 kB / 0.9841 GB, free: 15.15 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 (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 prepare postOptimizeDAE: time 5.307e-05/0.004315, allocations: 113.8 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.004338, allocations: 11.91 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.485e-05/0.004353, allocations: 11.8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004354, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.004358, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.004361, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.004614, allocations: 433.9 kB / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.004616, allocations: 0 / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.004632, allocations: 15.94 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004634, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.00464, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.004642, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.004643, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.289e-05/0.004696, allocations: 73.94 kB / 0.9847 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.004714, allocations: 11.89 kB / 0.9847 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.004726, allocations: 7.984 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.004737, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.004747, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.004748, allocations: 4.031 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.004807, allocations: 125.3 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004807, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001288/0.004936, allocations: 11.94 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003007/0.005237, allocations: 0.617 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.005347, allocations: 15.94 kB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.005351, allocations: 0 / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.00536, allocations: 8.219 kB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.005519, allocations: 18.55 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009962/0.006515, allocations: 1.343 MB / 0.9868 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.006574, allocations: 75.33 kB / 0.9869 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.006604, allocations: 8.484 kB / 0.9869 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.006652, allocations: 24.59 kB / 0.9869 GB, free: 11.98 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.006653, allocations: 4 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.02105, allocations: 2.223 MB / 0.9891 GB, free: 9.895 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/6.652, allocations: 4.125 kB / 0.9891 GB, free: 9.895 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.652527820318937]